cvs commit: src/sys/i386/i386 trap.c
John Baldwin
jhb at FreeBSD.org
Tue May 20 13:50:34 PDT 2003
jhb 2003/05/20 13:50:33 PDT
FreeBSD src repository
Modified files:
sys/i386/i386 trap.c
Log:
The per-CPU spinlocks list is only maintained when WITNESS is enabled.
Thus, treat all page faults while in a critical section as fatal rather
than just those that occur with a non-empty spinlocks list. All such page
faults are fatal anyways. Calling trap_fatal() earlier increases the
chances of getting more useful panic messages and a possible DDB prompt.
Approved by: re (scottl)
Revision Changes Path
1.252 +5 -5 src/sys/i386/i386/trap.c
More information about the cvs-src
mailing list