Date: Mon, 24 May 2010 10:23:49 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_resource.c kern_thread.c src/sys/sys resourcevar.h Message-ID: <201005241024.o4OAOQXc019292@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2010-05-24 10:23:49 UTC
FreeBSD src repository
Modified files:
sys/kern kern_resource.c kern_thread.c
sys/sys resourcevar.h
Log:
SVN rev 208488 on 2010-05-24 10:23:49Z by kib
Fix the double counting of the last process thread td_incruntime
on exit, that is done once in thread_exit() and the second time in
proc_reap(), by clearing td_incruntime.
Use the opportunity to revert to the pre-RUSAGE_THREAD exporting of ruxagg()
instead of ruxagg_locked() and use it from thread_exit().
Diagnosed and tested by: neel
MFC after: 3 days
Revision Changes Path
1.198 +3 -3 src/sys/kern/kern_resource.c
1.293 +1 -1 src/sys/kern/kern_thread.c
1.57 +1 -1 src/sys/sys/resourcevar.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005241024.o4OAOQXc019292>
