]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86-64: always use physical delivery mode on > 8 CPUs
authorIngo Molnar <mingo@elte.hu>
Wed, 2 May 2007 17:27:04 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:04 +0000 (19:27 +0200)
commit73f6443bc58dcd3397abdaa46c0b227c8abfc580
tree01e61556711fba606b1e2fbefccb7e2d96a4e0b9
parent50b314a5a587316f704261554bae1ad0ebaf44ed
[PATCH] x86-64: always use physical delivery mode on > 8 CPUs

Remove clustered APIC mode.  There's little point in the use of clustered APIC
mode, broadcasting is limited to within the cluster only, and chipsets have
bugs in this area as well.  So default to physical APIC mode when the CPU
count is large, and default to logical APIC mode when the CPU count is 8 or
smaller.

(this patch only removes the use of genapic_cluster and cleans up the
resulting genapic.c file - removal of all remaining traces of clustered
mode will be done by another patch.)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Andi Kleen <ak@suse.de>
Cc: "Li, Shaohua" <shaohua.li@intel.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
arch/x86_64/kernel/genapic.c
include/asm-x86_64/genapic.h