Date: Thu, 18 Sep 2003 00:01:30 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 trap.c Message-ID: <200309180701.h8I71UWe094034@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2003/09/18 00:01:30 PDT FreeBSD src repository Modified files: sys/i386/i386 trap.c Log: Don't forget to reenable interrupts after a breakpoint and trace traps from user mode. This goes with rev.1.468 of machdep.c which changed the gates for these traps to interrupt gates. Having the interrupts disabled for these traps from user mode is just an unwanted side effect. This fixes at least 1 case of "panic: absolutely cannot call smp_ipi_shootdown with interrupts already disabled". Too much code was run with interrupts disabled, and it sometimes hit a sanity check. Fix verified by: deischen Revision Changes Path 1.257 +1 -0 src/sys/i386/i386/trap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309180701.h8I71UWe094034>