From: Rusty Russell Date: Mon, 24 Nov 2008 16:05:13 +0000 (+1030) Subject: sched: convert check_preempt_equal_prio to cpumask_var_t. X-Git-Tag: v2.6.29-rc1~538^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24600ce89a819a8f2fb4fd69fd777218a82ade20;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed