- If smp is not started yet don't try to load balance or we'll put threads
on cpus that aren't running yet.
This commit is contained in:
parent
b398728a88
commit
2ead0e377a
@ -374,6 +374,9 @@ kseq_balance(void *arg)
|
||||
low_load = -1;
|
||||
|
||||
mtx_lock_spin(&sched_lock);
|
||||
if (smp_started == 0)
|
||||
goto out;
|
||||
|
||||
for (i = 0; i < mp_maxid; i++) {
|
||||
if (CPU_ABSENT(i))
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user