Date: Thu, 17 Mar 2005 15:18:01 +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 kern_switch.c Message-ID: <200503171518.j2HFI1cv085574@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2005-03-17 15:18:01 UTC FreeBSD src repository Modified files: sys/kern kern_switch.c Log: A further step on the journey of meaking panics and debugging more reliable: in the window between the beginning of panic() and entering the debugger, it's possible to receive interrupts. If we receive an interrupt, don't preempt if panicstr != NULL, as the system is in the process of failing, and the preempting thread is likely to stumble over the failure. The typical scenario is during the printf() in panic() prior to entering the debugger, but when running with a slower console type such as serial console. It could be that the panic string should be passed to the debugger to print, so that it can run from the debugger's environment rather than a regular kernel printf. Glanced at by: jhb Revision Changes Path 1.108 +3 -2 src/sys/kern/kern_switch.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503171518.j2HFI1cv085574>