Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2001 09:31:02 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/i386/i386 trap.c
Message-ID:  <XFMail.011115093102.jhb@FreeBSD.org>
In-Reply-To: <200111151729.fAFHTax23611@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 15-Nov-01 John Baldwin wrote:
> 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.

Other architectures should probably do something similar to the second part
here.  (Calling trap_fatal() immediately for a page fault while holding a spin
lock.)

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.011115093102.jhb>