ipi_nmi_handler

John Baldwin jhb at freebsd.org
Mon Nov 7 13:36:04 PST 2005


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


More information about the freebsd-current mailing list