]> git.karo-electronics.de Git - mv-sheeva.git/commit
cpumask: convert node_to_cpumask_map[] to cpumask_var_t
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 13 Mar 2009 04:19:53 +0000 (14:49 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 13 Mar 2009 04:19:53 +0000 (14:49 +1030)
commitc032ef60d1aa9af33730b7a35bbea751b131adc1
tree3c3a274c92d29383f1d6b07ab098666d3525a251
parent71ee73e72228775a076a502b3c92028fa59e2889
cpumask: convert node_to_cpumask_map[] to cpumask_var_t

Impact: reduce kernel memory usage when CONFIG_CPUMASK_OFFSTACK=y

Straightforward conversion: done for 32 and 64 bit kernels.
node_to_cpumask_map is now a cpumask_var_t array.

64-bit used to be a dynamic cpumask_t array, and 32-bit used to be a
static cpumask_t array.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/x86/include/asm/topology.h
arch/x86/kernel/smpboot.c
arch/x86/mm/numa.c
arch/x86/mm/numa_64.c