]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86: when L3 is present show its size in /proc/cpuinfo
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Sun, 30 Oct 2005 22:59:38 +0000 (14:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:12 +0000 (17:37 -0800)
commitd271c4918b6dcdeb61cdc313a5dadd9b74c804d7
tree48645e204613332df510b42f56655d06d9200a33
parentbb7a3bae4f06b3cdccf84f0d471ece17c20a51b1
[PATCH] x86: when L3 is present show its size in /proc/cpuinfo

The code that prints the cache size assumes that L3 always lives in chipset
and is shared across CPUs.  Which is not really true.

I think all the cachesizes reported by cpuid are in the processor itself.
The attached patch changes the code to reflect that.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/intel_cacheinfo.c