Date: Sun, 15 Aug 2004 02:06:27 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_kdb.c Message-ID: <200408150206.i7F26RJ2066828@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-08-15 02:06:27 UTC FreeBSD src repository Modified files: sys/kern subr_kdb.c Log: Add a new sysctl, debug.kdb.stop_cpus, which controls whether or not we attempt to IPI other cpus when entering the debugger in order to stop them while in the debugger. The default remains to issue the stop; however, that can result in a hang if another cpu has interrupts disabled and is spinning, since the IPI won't be received and the KDB will wait indefinitely. We probably need to add a timeout, but this is a useful stopgap in the mean time. Reviewed by: marcel Revision Changes Path 1.5 +19 -2 src/sys/kern/subr_kdb.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408150206.i7F26RJ2066828>