From: Mike Travis Date: Sat, 5 Apr 2008 01:11:11 +0000 (-0700) Subject: cpumask: reduce stack usage in SD_x_INIT initializers X-Git-Tag: v2.6.26-rc1~1132^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c16ec585c558960a508ccf9a08fcb9ed49b3754;p=pandora-kernel.git cpumask: reduce stack usage in SD_x_INIT initializers * Remove empty cpumask_t (and all non-zero/non-null) variables in SD_*_INIT macros. Use memset(0) to clear. Also, don't inline the initializer functions to save on stack space in build_sched_domains(). * Merge change to include/linux/topology.h that uses the new node_to_cpumask_ptr function in the nr_cpus_node macro into this patch. Depends on: [mm-patch]: asm-generic-add-node_to_cpumask_ptr-macro.patch [sched-devel]: sched: add new set_cpus_allowed_ptr function Cc: H. Peter Anvin Signed-off-by: Mike Travis Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed