Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2006 10:47:04 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        current@freebsd.org
Cc:        ups@freebsd.org
Subject:   [PATCH] possible fix for the runtime going backwards warnings
Message-ID:  <200602211047.06599.jhb@freebsd.org>

next in thread | raw e-mail | index | archive | help
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

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602211047.06599.jhb>