diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-31 18:42:28 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-31 18:42:28 -0500 |
commit | e0b582ec56f1a1d8b30ebf340a7b91fb09f26c8c (patch) | |
tree | d96b9b657eda13b902a712dfb4f95321133caf1c /kernel/stop_machine.c | |
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>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions