From b2abcb5447b07c15f0866660899cd3702500f15a Mon Sep 17 00:00:00 2001
From: Robert Watson
Technical contact: John Baldwin
+ +The project would need to extend the current CPU states of + absent and present to include absent, offline, and online. A + set of event handlers (probably using EVENTHANDLER(9)) will + need to be created to allow subsystems to be notified of CPU + state changes. At a minimum, the functionality of the + current 'hlt_cpus_mask' should be reimplemented in both the + 4BSD and ULE schedulers using this mechanism. Note that the + ability to disable all but one thread within a core must + still be supported easily. (This is currently done on x86 + via the machdep.hyperthreading_allowed sysctl.) Each + subsystem that uses CPU_ABSENT() will need to be evaluated to + see if it needs updating to handle online vs offline CPUs. + Further improvements may include teaching UMA to free per-CPU + buckets when a CPU is taken offline.
+Requirements:
+