From owner-freebsd-current@FreeBSD.ORG Mon Nov 7 21:36:04 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 8B55916A41F; Mon, 7 Nov 2005 21:36:04 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail5.speedfactory.net [66.23.216.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FCC743D53; Mon, 7 Nov 2005 21:35:46 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 1540409 for multiple; Mon, 07 Nov 2005 16:37:49 -0500 Received: from localhost.baldwin.cx (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id jA7LZexL019048; Mon, 7 Nov 2005 16:35:42 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Mon, 7 Nov 2005 12:52:56 -0500 User-Agent: KMail/1.8.2 References: <17260.17957.473953.634330@roam.psg.com> <17260.41826.683167.533287@roam.psg.com> <20051105181517.K22029@fledge.watson.org> In-Reply-To: <20051105181517.K22029@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511071252.58060.jhb@freebsd.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: Randy Bush , Robert Watson 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: Mon, 07 Nov 2005 21:36:04 -0000 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. > > > > > > > > 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org