Date: Tue, 15 Jan 2002 06:17:07 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha trap.c Message-ID: <200201151417.g0FEH7989625@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2002/01/15 06:17:07 PST
Modified files:
sys/alpha/alpha trap.c
Log:
- Catch up printtrap() to KSE by using curthread and testing it against
NULL rather than curproc. Without this, if we trap early before
curthread is set, we recursively panic.
- In an SMP kernel, if we trap before curthread is set, then trap is going
to recursively panic trying to bump td->td_md.md_kernnest. The trap is
fatal anyways, so to make debugging easier just call printtrap() to
dump the trap info to the console and then halt.
Revision Changes Path
1.82 +9 -5 src/sys/alpha/alpha/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?200201151417.g0FEH7989625>
