commit | 24600ce89a819a8f2fb4fd69fd777218a82ade20 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Tue Nov 25 02:35:13 2008 +1030 |
committer | Ingo Molnar <mingo@elte.hu> | Mon Nov 24 17:52:28 2008 +0100 |
tree | 01a0e82bb6396b6f5de6300bd30d34e4fb0c76e7 | |
parent | 68e74568fbe5854952355e942acca51f138096d9 [diff] |
sched: convert check_preempt_equal_prio to cpumask_var_t. Impact: stack reduction for large NR_CPUS Dynamically allocating cpumasks (when CONFIG_CPUMASK_OFFSTACK) saves stack space. We simply return if the allocation fails: since we don't use it we could just pass NULL to cpupri_find and have it handle that. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Ingo Molnar <mingo@elte.hu>