Date: Tue, 21 Feb 2006 21:47:46 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_resource.c Message-ID: <200602212147.k1LLlkJu078004@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2006-02-21 21:47:46 UTC
FreeBSD src repository
Modified files:
sys/kern kern_resource.c
Log:
Split calcru() back into a calcru1() function shared with calccru() and
a calcru() wrapper that passes a local rusage_ext on the stack that is
a snapshot to do the calculations on. Now we can pass p->p_crux to
calcru1() in calccru() again which fixes the issues with runtime going
backwards messages when dead processes are harvested by init.
Reviewed by: phk
Tested by: Stefan Ehmann shoesoft at gmx dot net
Revision Changes Path
1.155 +33 -10 src/sys/kern/kern_resource.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602212147.k1LLlkJu078004>
