commit | e0b582ec56f1a1d8b30ebf340a7b91fb09f26c8c | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Thu Jan 01 10:12:28 2009 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Thu Jan 01 10:12:28 2009 +1030 |
tree | d96b9b657eda13b902a712dfb4f95321133caf1c | |
parent | c309b917cab55799ea489d7b5f1b77025d9f8462 [diff] |
cpumask: convert kernel/cpu.c Impact: Reduce kernel stack and memory usage, use new cpumask API. Use cpumask_var_t for take_cpu_down() stack var, and frozen_cpus. Note that notify_cpu_starting() can be called before core_initcall allocates frozen_cpus, but the NULL check is optimized out by gcc for the CONFIG_CPUMASK_OFFSTACK=n case. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>