summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/intel_cacheinfo.c
diff options
context:
space:
mode:
authorMike Travis2008-04-05 03:11:02 +0200
committerIngo Molnar2008-04-19 19:44:59 +0200
commit321a8e9dcb714f3c350ba55e41ed447bf3f05fac (patch)
treee75ca8ebcee0954dc6e313864ebba9f72e984fc8 /arch/x86/kernel/cpu/intel_cacheinfo.c
parentcpumask: reduce stack usage in SD_x_INIT initializers (diff)
downloadkernel-qcow2-linux-321a8e9dcb714f3c350ba55e41ed447bf3f05fac.tar.gz
kernel-qcow2-linux-321a8e9dcb714f3c350ba55e41ed447bf3f05fac.tar.xz
kernel-qcow2-linux-321a8e9dcb714f3c350ba55e41ed447bf3f05fac.zip
cpumask: add CPU_MASK_ALL_PTR macro
* Add a static cpumask_t variable "CPU_MASK_ALL_PTR" to use as a pointer reference to CPU_MASK_ALL. This reduces where possible the instances where CPU_MASK_ALL allocates and fills a large array on the stack. Used only if NR_CPUS > BITS_PER_LONG. * Change init/main.c to use new set_cpus_allowed_ptr(). Depends on: [sched-devel]: sched: add new set_cpus_allowed_ptr function Cc: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Mike Travis <travis@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/intel_cacheinfo.c')
0 files changed, 0 insertions, 0 deletions