commit | dcc30a35f71bcf51f1e9b336dc5e41923071509a | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Tue Nov 25 02:35:12 2008 +1030 |
committer | Ingo Molnar <mingo@elte.hu> | Mon Nov 24 17:52:10 2008 +0100 |
tree | 37334b442315285779614990aef82022c11e1b72 | |
parent | d5dd3db1dce73cdd5c45c5a3498c51bd21b8864b [diff] |
sched: convert cpu_isolated_map to cpumask_var_t. Impact: stack usage reduction, (future) size reduction, cleanup 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. We can also use cpulist_parse() instead of doing it manually in isolated_cpu_setup. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Ingo Molnar <mingo@elte.hu>