Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2005 13:16:07 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern subr_kdb.c subr_smp.c src/sys/amd64/amd64 mp_machdep.c trap.c src/sys/amd64/conf NOTES src/sys/amd64/include smp.h src/sys/conf options.amd64 options.i386 options.pc98 src/sys/i386/conf NOTES src/sys/i386/i386 mp_machdep.c trap.c ...
Message-ID:  <200510251316.08672.jhb@freebsd.org>
In-Reply-To: <20051025164222.GB16812@xor.obsecurity.org>
References:  <200510242104.j9OL4J2B045827@repoman.freebsd.org> <20051025164222.GB16812@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 25 October 2005 12:42 pm, Kris Kennaway wrote:
> On Mon, Oct 24, 2005 at 09:04:19PM +0000, John Baldwin wrote:
> > jhb         2005-10-24 21:04:19 UTC
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     sys/kern             subr_kdb.c subr_smp.c
> >     sys/amd64/amd64      mp_machdep.c trap.c
> >     sys/amd64/conf       NOTES
> >     sys/amd64/include    smp.h
> >     sys/conf             options.amd64 options.i386 options.pc98
> >     sys/i386/conf        NOTES
> >     sys/i386/i386        mp_machdep.c trap.c
> >     sys/i386/include     smp.h
> >     sys/pc98/conf        NOTES
> >     sys/sys              smp.h
> >   Log:
> >   Rename the KDB_STOP_NMI kernel option to STOP_NMI and make it apply to
> > all IPI_STOP IPIs.
>
> I thought we were going to make KDB_STOP_NMI the default (since it's
> necessary to avoid hangs on panic on SMP machines).  That seems like
> it's more risky now that it's bound up with other code.

Well, the MI parts of KDB_STOP_NMI (using stoppedpcbs[] on x86) now is the 
default.  All this does is make it so that all IPI_STOP IPIs (such as those 
used during shutdown, which is currently the only use outside of KDB) are 
able to use NMIs now.  Also, it makes it simpler to enable stoppedpcbs[] on 
other archs like sparc64.  If you want to turn STOP_NMI on by default that 
would be fine with me.  The NMIs can still be disabled via sysctl/tunable 
even with the option on.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510251316.08672.jhb>