Jeff Roberson 88f530cc25 - 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
2007-10-08 23:50:39 +00:00
..
2007-08-16 05:32:26 +00:00
2007-04-23 12:53:00 +00:00
2006-05-28 22:15:28 +00:00
2007-08-16 05:32:26 +00:00
2007-08-16 05:32:26 +00:00