From: Rusty Russell Date: Mon, 24 Nov 2008 16:05:13 +0000 (+1030) Subject: sched: convert struct cpupri_vec cpumask_var_t. X-Git-Tag: v2.6.29-rc1~538^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68e74568fbe5854952355e942acca51f138096d9;p=pandora-kernel.git sched: convert struct cpupri_vec cpumask_var_t. Impact: stack usage reduction, (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. The fact cpupro_init is called both before and after the slab is available makes for an ugly parameter unfortunately. We also use cpumask_any_and to get rid of a temporary in cpupri_find. Signed-off-by: Rusty Russell Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed