kernel - Add kern.usched_global_cpumask
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 2 Feb 2011 07:44:07 +0000 (23:44 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 2 Feb 2011 07:44:07 +0000 (23:44 -0800)
commit916e604fdc710c1afaa8cb59dda03e2830b45a2c
treecbe4452fba9c526b6db680c6e2b5e1ca0ed7636b
parent1327edb7714d66ba000954fe394b0ba294030d90
kernel - Add kern.usched_global_cpumask

* Add sysctl kern.usched_global_cpumask, a global cpumask that restricts
  which cpus userland processes are allowed to run on.  This sysctl may be
  set dynamically.

* NOTE: This sysctl is intended to be used by powerd.  Setting it manually
  will only work properly if powerd is not running.
sys/kern/init_main.c
sys/kern/usched_bsd4.c
sys/sys/systm.h