]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86_64: x86_64/i386 fix Intel cache detection code assumption about threads...
authorSiddha, Suresh B <suresh.b.siddha@intel.com>
Sat, 5 Nov 2005 16:25:54 +0000 (17:25 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 15 Nov 2005 03:55:16 +0000 (19:55 -0800)
commit9fe8ac96031598772dc4c8ad3b49c911621c7588
tree1f4bd49d9d6827a2121fc698d1a9c9fc889ad3fe
parent0502ab5d224c49fdd6a8b58b2f4be028d4294de2
[PATCH] x86_64: x86_64/i386 fix Intel cache detection code assumption about threads sharing

Fix the Intel cache detection code assumption that number of threads
sharing the cache will either be equal to number of HT or core siblings.

This also cleans up the code in general a bit.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/intel_cacheinfo.c