Remove commented-out garbage that skipped updating schedcpu() stats for
ithreads in SWAIT.
This commit is contained in:
parent
97b4306f0f
commit
d68a8cc0ab
@ -250,8 +250,6 @@ schedcpu(arg)
|
|||||||
* Increment time in/out of memory and sleep time
|
* Increment time in/out of memory and sleep time
|
||||||
* (if sleeping). We ignore overflow; with 16-bit int's
|
* (if sleeping). We ignore overflow; with 16-bit int's
|
||||||
* (remember them?) overflow takes 45 days.
|
* (remember them?) overflow takes 45 days.
|
||||||
if (p->p_stat == SWAIT)
|
|
||||||
continue;
|
|
||||||
*/
|
*/
|
||||||
mtx_lock_spin(&sched_lock);
|
mtx_lock_spin(&sched_lock);
|
||||||
p->p_swtime++;
|
p->p_swtime++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user