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 ...
John Baldwin
jhb at freebsd.org
Tue Oct 25 10:19:41 PDT 2005
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 at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the cvs-src
mailing list