[PATCH] possible fix for the runtime going backwards warnings
Stefan Ehmann
shoesoft at gmx.net
Tue Feb 21 08:26:24 PST 2006
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.
More information about the freebsd-current
mailing list