Remove useless thread_{lock,unlock}() in raccd.
This commit is contained in:
parent
0ba64b2731
commit
0a53cd5742
@ -730,11 +730,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
|
||||
|
Loading…
Reference in New Issue
Block a user