Re: ipi_nmi_handler

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 7 Nov 2005 12:52:56 -0500
On Saturday 05 November 2005 01:16 pm, Robert Watson wrote:
> On Sat, 5 Nov 2005, Randy Bush wrote:
> >> It seems that if you put STOP_NMI in your kernel config, you need SMP as
> >> well.
> >
> > <sigh>
> >
> > is STOP_NMI so wonderful that i should turn on SMP and the apic device?
>
> STOP_NMI makes inter-processor interrupts for the debugger (and a few
> other things) use non-maskable interrupts instead of maskable ones.  So it
> doesn't actually do anything if you don't have an SMP system, as there
> will be no inter-processor interrupts on a single-processor system.
>
> The STOP_NMI option may have been turned on by default without realizing
> that it wasn't quite implemented right -- it should only affect SMP
> systems, not be limited to compiling on them.

It was only turned on in GENERIC in HEAD which has SMP.  It would be akin to 
trying to remove 'device apic' but keep 'options SMP' and expect things to 
still build, though on perhaps a lesser scale.

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Mon Nov 07 2005 - 20:36:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:47 UTC