diff options
author | Mike Travis | 2008-04-05 03:11:02 +0200 |
---|---|---|
committer | Ingo Molnar | 2008-04-19 19:44:59 +0200 |
commit | 321a8e9dcb714f3c350ba55e41ed447bf3f05fac (patch) | |
tree | e75ca8ebcee0954dc6e313864ebba9f72e984fc8 /arch/x86/kernel/cpu/intel_cacheinfo.c | |
parent | cpumask: reduce stack usage in SD_x_INIT initializers (diff) | |
download | kernel-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