Re: [PATCH] possible fix for the runtime going backwards warnings

From: Stefan Ehmann <shoesoft_at_gmx.net>
Date: Tue, 21 Feb 2006 17:26:09 +0100
On Tue, 2006-02-21 at 10:47 -0500, John Baldwin wrote:
> The latest round of calcru() changes accidentally changed calccru() to use the 
> wrong rusage_ext structure (p->p_rux vs p->p_crux) when calculating usage 
> times for children.  The patch fixes calccru() to use p->p_crux again.  It 
> also moves the ruadd() in exit1() even later in the function so that it takes 
> the dying thread's last time slice into account.  Please test it and let me 
> know if it makes the messages go away (or if it makes things worse!)  Thanks!
> 
> http://www.FreeBSD.org/~jhb/patches/calccru.patch

Seems to work for me. I no longer see the message here.

Thanks.
Received on Tue Feb 21 2006 - 15:26:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC