]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86_64: Fix numa node topology detection for srat based x86_64 boxes
authorRavikiran G Thirumalai <kiran@scalex86.org>
Mon, 3 Oct 2005 17:36:28 +0000 (10:36 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 3 Oct 2005 17:54:22 +0000 (10:54 -0700)
commit0225b24fe23bea43ebf7e68d1e88691d4603af60
treec04ca29bf4bcf047aacabcbce4d451817df155c3
parentd7cef62c5fbd3521b7360e25e318740864d9afd2
[PATCH] x86_64: Fix numa node topology detection for srat based x86_64 boxes

2.6.14-rc2 does not assign cpus to proper nodeids on our em64t numa boxen.
Our boxes use acpi srat for parsing the numa information.

srat_detect_node() used phys_proc_id[] to get to the cpu's local apic id,
but phys_proc_id[] represents the cpu<->initial_apic_id mapping.  The
following patch fixes this problem.  Now apicid_to_node[] is properly
indexed with the local apic id.

Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/setup.c