summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-11-25 02:35:13 +1030
committerIngo Molnar <mingo@elte.hu>2008-11-24 17:52:28 +0100
commit24600ce89a819a8f2fb4fd69fd777218a82ade20 (patch)
tree01a0e82bb6396b6f5de6300bd30d34e4fb0c76e7 /kernel/sched.c
parent68e74568fbe5854952355e942acca51f138096d9 (diff)
downloadlinux-24600ce89a819a8f2fb4fd69fd777218a82ade20.tar.gz
linux-24600ce89a819a8f2fb4fd69fd777218a82ade20.tar.bz2
linux-24600ce89a819a8f2fb4fd69fd777218a82ade20.zip
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>
Diffstat (limited to 'kernel/sched.c')
0 files changed, 0 insertions, 0 deletions