cvs commit: src/sys/i386/i386 trap.c src/sys/amd64/amd64 trap.c
John Baldwin
jhb at FreeBSD.org
Fri Jan 27 14:22:11 PST 2006
jhb 2006-01-27 22:22:10 UTC
FreeBSD src repository
Modified files:
sys/i386/i386 trap.c
sys/amd64/amd64 trap.c
Log:
Call WITNESS_CHECK() in the page fault handler and immediately assume it
is a fatal fault if we are holding any non-sleepable locks. This should
cut down on the number of bogus LORs we currently get when the kernel
panics due to a NULL (or bogus) pointer dereference that goes wandering
off into the VM system which tries to acquire locks and then kicks off
the spurious LORs. This should probably be ported to all the archs at
some point.
Tested on: i386
Revision Changes Path
1.300 +9 -1 src/sys/amd64/amd64/trap.c
1.287 +11 -3 src/sys/i386/i386/trap.c
More information about the cvs-src
mailing list