提交 d7169160 编写于 作者: A Andi Kleen 提交者: Linus Torvalds

[PATCH] i386: Use bigsmp for > 8 core Opteron systems

bigsmp is reported to work on large Opteron systems on 32bit too.
Enable it by default there.
Signed-off-by: NAndi Kleen <ak@suse.de>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 252ec9e2
...@@ -220,8 +220,9 @@ static void __devinit MP_processor_info (struct mpc_config_processor *m) ...@@ -220,8 +220,9 @@ static void __devinit MP_processor_info (struct mpc_config_processor *m)
num_processors++; num_processors++;
if ((num_processors > 8) && if ((num_processors > 8) &&
APIC_XAPIC(ver) && ((APIC_XAPIC(ver) &&
(boot_cpu_data.x86_vendor == X86_VENDOR_INTEL)) (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL)) ||
(boot_cpu_data.x86_vendor == X86_VENDOR_AMD)))
def_to_bigsmp = 1; def_to_bigsmp = 1;
else else
def_to_bigsmp = 0; def_to_bigsmp = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册