cvs commit: src/sys/i386/i386 trap.c
bde at FreeBSD.org
Thu Sep 18 00:01:32 PDT 2003
bde 2003/09/18 00:01:30 PDT
FreeBSD src repository
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
More information about the cvs-src