kernel - Add usched_dfly algorith, set as default for now (5)
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 19 Sep 2012 11:41:27 +0000 (04:41 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 19 Sep 2012 11:41:27 +0000 (04:41 -0700)
commit6b4d33c2d54b1b79b79917b37b4e0f636208d860
treee05402bebc0a178aead490ca63458a0612965feb
parent08bb2a8309b22300155c1fafe69f9a46d3526e44
kernel - Add usched_dfly algorith, set as default for now (5)

* Do a better job pushing threads to the correct cpu.  Keep the load
  factor live even when the thread goes to sleep, until some other thread
  tries to go to sleep on the same cpu.

* Handle an edge case where a cpu-bound thread needs to be moved to
  another cpu.

* Pull once a second and on-demand.
sys/kern/kern_synch.c
sys/kern/usched_dfly.c
sys/sys/globaldata.h