[PATCH] possible fix for the runtime going backwards warnings

From: John Baldwin <jhb_at_freebsd.org>
Date: Tue, 21 Feb 2006 10:47:04 -0500
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_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Tue Feb 21 2006 - 14:46:13 UTC

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