kernel - add usched_dfly algorith, set as default for now
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 18 Sep 2012 06:17:51 +0000 (23:17 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 18 Sep 2012 06:22:05 +0000 (23:22 -0700)
commite28d8b158f5ddefb84fa6bead323f0640cff607e
tree0b89e85e5fe5dea9b4904395eb24e070321f4806
parentf7be129cec02d486b7fb9021cf628d372009086f
kernel - add usched_dfly algorith, set as default for now

* Fork usched_bsd4 for continued development.

* Rewrite the bsd4 scheduler to use per-cpu spinlocks and queues.

* Reformulate the cpu selection algorithm using the topology info.
  We now do a top-down iteration instead of a bottom-up iteration
  to calculate the best cpu node to schedule something to.

  Implements both thread push to remote queue and pull from remote queue.

* Track a load factor on a per-cpu basis.
sys/conf/files
sys/kern/kern_exit.c
sys/kern/kern_synch.c
sys/kern/kern_usched.c
sys/kern/subr_cpu_topology.c
sys/kern/usched_bsd4.c
sys/kern/usched_dfly.c [copied from sys/kern/usched_bsd4.c with 50% similarity]
sys/kern/usched_dummy.c
sys/sys/cpu_topology.h
sys/sys/proc.h
sys/sys/usched.h