diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-01 10:12:28 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-01 10:12:28 +1030 |
commit | e0b582ec56f1a1d8b30ebf340a7b91fb09f26c8c (patch) | |
tree | d96b9b657eda13b902a712dfb4f95321133caf1c /kernel/taskstats.c | |
parent | c309b917cab55799ea489d7b5f1b77025d9f8462 (diff) | |
download | linux-e0b582ec56f1a1d8b30ebf340a7b91fb09f26c8c.tar.gz linux-e0b582ec56f1a1d8b30ebf340a7b91fb09f26c8c.tar.bz2 linux-e0b582ec56f1a1d8b30ebf340a7b91fb09f26c8c.zip |
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/taskstats.c')
0 files changed, 0 insertions, 0 deletions