summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-mutex.h
diff options
context:
space:
mode:
authorMike Travis2008-03-25 23:06:56 +0100
committerIngo Molnar2008-04-19 19:44:58 +0200
commit6b6309b4c7f6da467c5d5b7d18fa8cb79730f381 (patch)
tree1a823a60ca1cd561b7c63f7ee52a6ac057ca68c1 /lib/locking-selftest-mutex.h
parentcpumask: add cpumask_scnprintf_len function (diff)
downloadkernel-qcow2-linux-6b6309b4c7f6da467c5d5b7d18fa8cb79730f381.tar.gz
kernel-qcow2-linux-6b6309b4c7f6da467c5d5b7d18fa8cb79730f381.tar.xz
kernel-qcow2-linux-6b6309b4c7f6da467c5d5b7d18fa8cb79730f381.zip
x86: reduce memory and stack usage in intel_cacheinfo
* Change the following static arrays sized by NR_CPUS to per_cpu data variables: _cpuid4_info *cpuid4_info[NR_CPUS]; _index_kobject *index_kobject[NR_CPUS]; kobject * cache_kobject[NR_CPUS]; * Remove the local NR_CPUS array with a kmalloc'd region in show_shared_cpu_map(). Also some minor complaints from checkpatch.pl fixed. Cc: H. Peter Anvin <hpa@zytor.com> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Mike Travis <travis@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/locking-selftest-mutex.h')
0 files changed, 0 insertions, 0 deletions