svn commit: r235893 - stable/9/sys/kern
Edward Tomasz Napierala
trasz at FreeBSD.org
Thu May 24 10:31:18 UTC 2012
Author: trasz
Date: Thu May 24 10:31:17 2012
New Revision: 235893
URL: http://svn.freebsd.org/changeset/base/235893
Log:
MFC r232782:
Remove useless thread_{lock,unlock}() in raccd.
Modified:
stable/9/sys/kern/kern_racct.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/kern/kern_racct.c
==============================================================================
--- stable/9/sys/kern/kern_racct.c Thu May 24 10:30:13 2012 (r235892)
+++ stable/9/sys/kern/kern_racct.c Thu May 24 10:31:17 2012 (r235893)
@@ -718,11 +718,8 @@ racctd(void)
timevalsub(&wallclock, &p->p_stats->p_start);
PROC_LOCK(p);
PROC_SLOCK(p);
- FOREACH_THREAD_IN_PROC(p, td) {
+ FOREACH_THREAD_IN_PROC(p, td)
ruxagg(p, td);
- thread_lock(td);
- thread_unlock(td);
- }
runtime = cputick2usec(p->p_rux.rux_runtime);
PROC_SUNLOCK(p);
#ifdef notyet
More information about the svn-src-stable-9
mailing list