sched: convert nohz_cpu_mask to cpumask_var_t.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 24 Nov 2008 16:05:04 +0000 (02:35 +1030)
committerIngo Molnar <mingo@elte.hu>
Mon, 24 Nov 2008 16:51:10 +0000 (17:51 +0100)
commit6a7b3dc3440f7b5a9b67594af01ed562cdeb41e4
treefdbe54d2c9cd665c6a76ed09e9e4b7c51fb4df20
parent6c99e9ad47d9c082bd096f42fb49e397b05d58a8
sched: convert nohz_cpu_mask to cpumask_var_t.

Impact: (future) size reduction for large NR_CPUS.

Dynamically allocating cpumasks (when CONFIG_CPUMASK_OFFSTACK) saves
space for small nr_cpu_ids but big CONFIG_NR_CPUS.  cpumask_var_t
is just a struct cpumask for !CONFIG_CPUMASK_OFFSTACK.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/rcuclassic.c
kernel/sched.c
kernel/time/tick-sched.c