aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cpuset.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-12-31 18:42:27 -0500
committerRusty Russell <rusty@rustcorp.com.au>2008-12-31 18:42:27 -0500
commitc309b917cab55799ea489d7b5f1b77025d9f8462 (patch)
treec4d4723124706254bc105ba4715ed69576368662 /kernel/cpuset.c
parentbd232f97b30f6bb630efa136a777647545db3039 (diff)
cpumask: convert kernel/profile.c
Impact: Reduce kernel memory usage, use new cpumask API. Avoid a static cpumask_t for prof_cpu_mask, and an on-stack cpumask_t in prof_cpu_mask_write_proc. Both become cpumask_var_t. prof_cpu_mask is only allocated when profiling is on, but the NULL checks are optimized out by gcc for the !CPUMASK_OFFSTACK case. Also removed some strange and unnecessary casts. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/cpuset.c')
0 files changed, 0 insertions, 0 deletions