kernel - usched_bsd4 algorith fixes & improvements
commit901eccebc4fc22785edf0c32784210869eb0068f
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 17 Sep 2012 16:32:53 +0000 (17 09:32 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 17 Sep 2012 16:32:53 +0000 (17 09:32 -0700)
treecadb0200e827097620219a05329719676839aebe
parent0d6ab30e1a3f0f0afb0c75109e665b594a4b8b7a
kernel - usched_bsd4 algorith fixes & improvements

* Fix a bug in the checks loop where the loop counter would be reset
  whenever it moved to a new queue.

* Improve the min_level_lwp selec code by also testing lwp_priority.

* Add code to kick the helper threads for the processes that weren't
  selected.

* Clean up some code syntax.
sys/kern/usched_bsd4.c