Date: Tue, 11 May 2010 13:18:41 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_fork.c kern_kthread.c kern_resource.c kern_thr.c kern_thread.c src/sys/sys proc.h resource.h resourcevar.h Message-ID: <201005111319.o4BDJ8wk011156@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2010-05-11 13:18:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/kern kern_fork.c kern_kthread.c kern_resource.c kern_thr.c kern_thread.c sys/sys proc.h resource.h resourcevar.h Log: SVN rev 207916 on 2010-05-11 13:18:41Z by kib MFC r207468: Extract thread_lock()/ruxagg()/thread_unlock() fragment into utility function ruxagg_tlock(). Convert the definition of kern_getrusage() to ANSI C. MFC r207602: Implement RUSAGE_THREAD. Add td_rux to keep extended runtime and ticks information for thread to allow calcru1() (re)use. Rename ruxagg()->ruxagg_locked(), ruxagg_tlock()->ruxagg() [1]. The ruxagg_locked() function no longer clears thread ticks nor td_incruntime. Not an MFC: the td_rux is added to the end of struct thread to keep the KBI. Explicit bzero() of td_rux is added to new thread initialization points. Revision Changes Path 1.306.2.3 +1 -0 src/sys/kern/kern_fork.c 1.47.2.3 +1 -0 src/sys/kern/kern_kthread.c 1.194.2.3 +26 -14 src/sys/kern/kern_resource.c 1.75.2.6 +1 -0 src/sys/kern/kern_thr.c 1.285.2.5 +1 -1 src/sys/kern/kern_thread.c 1.535.2.10 +2 -1 src/sys/sys/proc.h 1.35.2.2 +1 -0 src/sys/sys/resource.h 1.55.2.2 +1 -1 src/sys/sys/resourcevar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005111319.o4BDJ8wk011156>