[PATCH] x86-64: always use physical delivery mode on > 8 CPUs
commit07c7c4744400f93a7c52b32159c31d823e1747a5
authorIngo Molnar <mingo@elte.hu>
Wed, 2 May 2007 17:27:04 +0000 (2 19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:04 +0000 (2 19:27 +0200)
tree01e61556711fba606b1e2fbefccb7e2d96a4e0b9
parentf18d397e6aa5cde638d164b1d519c3ee903f4867
[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