Date: Thu, 15 Nov 2001 09:29:36 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 trap.c Message-ID: <200111151729.fAFHTax23611@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/11/15 09:29:36 PST
Modified files:
sys/i386/i386 trap.c
Log:
- Don't enable interrupts in trap() if we trapped while holding a spin
lock as this usually makes the problem worse.
- If we get a page fault while holding a spin lock, treat it as a fatal
trap and don't even bother calling into the VM since calling into the
VM will panic when trying to lock Giant before we can get a useful
message anyways.
Revision Changes Path
1.208 +17 -6 src/sys/i386/i386/trap.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111151729.fAFHTax23611>
