[PATCH] x86-64: Increase NMI watchdog probing timeout
A 4 core Opteron needs longer than 10 ticks for this. Signed-off-by: Andi Kleen <ak@suse.de>
This commit is contained in:
Родитель
89e07569e4
Коммит
0fb2ebfcb5
|
@ -328,7 +328,7 @@ static int __init check_nmi_watchdog(void)
|
||||||
for_each_possible_cpu(cpu)
|
for_each_possible_cpu(cpu)
|
||||||
prev_nmi_count[cpu] = per_cpu(irq_stat, cpu).__nmi_count;
|
prev_nmi_count[cpu] = per_cpu(irq_stat, cpu).__nmi_count;
|
||||||
local_irq_enable();
|
local_irq_enable();
|
||||||
mdelay((10*1000)/nmi_hz); // wait 10 ticks
|
mdelay((20*1000)/nmi_hz); // wait 20 ticks
|
||||||
|
|
||||||
for_each_possible_cpu(cpu) {
|
for_each_possible_cpu(cpu) {
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
|
|
|
@ -317,7 +317,7 @@ int __init check_nmi_watchdog (void)
|
||||||
for (cpu = 0; cpu < NR_CPUS; cpu++)
|
for (cpu = 0; cpu < NR_CPUS; cpu++)
|
||||||
counts[cpu] = cpu_pda(cpu)->__nmi_count;
|
counts[cpu] = cpu_pda(cpu)->__nmi_count;
|
||||||
local_irq_enable();
|
local_irq_enable();
|
||||||
mdelay((10*1000)/nmi_hz); // wait 10 ticks
|
mdelay((20*1000)/nmi_hz); // wait 20 ticks
|
||||||
|
|
||||||
for_each_online_cpu(cpu) {
|
for_each_online_cpu(cpu) {
|
||||||
if (!per_cpu(nmi_watchdog_ctlblk, cpu).enabled)
|
if (!per_cpu(nmi_watchdog_ctlblk, cpu).enabled)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче