cvs commit: src/sys/kern sched_ule.c
jeff at FreeBSD.org
Mon Oct 8 16:50:40 PDT 2007
jeff 2007-10-08 23:50:40 UTC
FreeBSD src repository
- Bail out of tdq_idled if !smp_started or idle stealing is disabled. This
fixes a bug on UP machines with SMP kernels where the idle thread
constantly switches after trying to steal work from the local cpu.
- Make the idle stealing code more robust against self selection.
- Prefer to steal from the cpu with the highest load that has at least one
transferable thread. Before we selected the cpu with the highest
transferable count which excludes bound threads.
Collaborated with: csjp
Approved by: re
Revision Changes Path
1.214 +14 -8 src/sys/kern/sched_ule.c
More information about the cvs-all