cvs commit: src/sys/i386/i386 trap.c

Daniel Eischen eischen at vigrid.com
Thu Sep 18 04:41:30 PDT 2003


On Thu, 18 Sep 2003, Bruce Evans wrote:

> 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.

Thanks

-- 
Dan Eischen



More information about the cvs-src mailing list