Re: [RFC] Fix NMI watchdog documentation

Carl-Daniel Hailfinger (c-d.hailfinger.kernel.2003@gmx.net)
Sat, 24 May 2003 21:43:55 +0200


Zwane Mwaikambo wrote:
> On Sat, 24 May 2003, Zwane Mwaikambo wrote:
>
>
>>For nmi_watchdog=1 the NMI watchdog uses the programmable interval timer
>>to trigger interrupt events via the IOAPIC. with nmi_watchdog=2 we use the
>>performance counters on the processor to trigger these events. IOAPICs
>>are generally found on SMP motherboards (but there are UP boards with
>>them, it's chipset dependent). Generally i686+ (save some Athlons and a
>>few other processors) will work with nmi_watchdog=2.
>
>
> Forgot this bit;
>
> w/ CONFIG_X86_LOCAL_APIC=y you only have nmi_watchdog=2
>
> w/ CONFIG_X86_IO_APIC=y you have nmi_watchdog=1 and 2
>
> w/ CONFIG_SMP you have nmi_watchdog=1 and 2 as it depends on
> CONFIG_X86_IO_APIC

Marc-Christian Petersen wrote:
> the nmi_watchdog is always compiled in if you select "CONFIG_X86_LOCAL_APIC"
>
> see "arch/i386/kernel/Makefile"

Thanks to all who responded. I will prepare a patch for
Documentation/nmi_watchdog.txt to clarify it and send the patch to Linus
and Marcelo.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/