]> err.no Git - linux-2.6/commit
[PATCH] x86_64: fix cpu_to_node setup for sparse apic_ids
authorRavikiran G Thirumalai <kiran@scalex86.org>
Fri, 29 Jul 2005 04:15:55 +0000 (21:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Jul 2005 04:46:02 +0000 (21:46 -0700)
commit8c56ac3f3b12936b03d2626c7572fed5977af515
tree4cb1fa7e6e0a2830d99520f42c6624697d0194c7
parent5a7b90137d9f05390cf953d756e1edda2ca88053
[PATCH] x86_64: fix cpu_to_node setup for sparse apic_ids

While booting with SMT disabled in bios, when using acpi srat to setup
cpu_to_node[], sparse apic_ids create problems.

Without this patch, intel x86_64 boxes with hyperthreading disabled in the
bios (and which rely on srat for numa setup) endup having incorrect values in
cpu_to_node[] arrays, causing sched domains to be built incorrectly etc.

Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/mm/srat.c