1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

- 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 Roberson 2003-06-28 08:24:42 +00:00
parent 418228df24
commit 86f8ae9663
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116962

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;