]> git.baikalelectronics.ru Git - kernel.git/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)
commit3db9897033994621b3bb51803226e4c3d7bd6429
tree4cb1fa7e6e0a2830d99520f42c6624697d0194c7
parent1fc3d24d3fff59112c009c450b2e20ad72ff9396
[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