From owner-freebsd-current@FreeBSD.ORG Sat Nov 5 18:16:35 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 587B016A41F for ; Sat, 5 Nov 2005 18:16:35 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FA6443D45 for ; Sat, 5 Nov 2005 18:16:35 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 3F37E46B8D; Sat, 5 Nov 2005 13:16:34 -0500 (EST) Date: Sat, 5 Nov 2005 18:16:34 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Randy Bush In-Reply-To: <17260.41826.683167.533287@roam.psg.com> Message-ID: <20051105181517.K22029@fledge.watson.org> References: <17260.17957.473953.634330@roam.psg.com> <436C648F.3040804@ba2.so-net.ne.jp> <17260.41826.683167.533287@roam.psg.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Current Subject: Re: ipi_nmi_handler X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2005 18:16:35 -0000 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. > > > > 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. Robert N M Watson