- 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:
jeff 2003-06-28 08:24:42 +00:00
parent b398728a88
commit 2ead0e377a

View File

@ -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;