Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 1998 12:58:58 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        current@FreeBSD.ORG
Subject:   Re: trap 12 with interrupts disabled
Message-ID:  <19981222125858.X85005@freebie.lemis.com>
In-Reply-To: <199812220225.SAA02191@dingo.cdrom.com>; from Mike Smith on Mon, Dec 21, 1998 at 06:25:33PM -0800
References:  <19981222125104.V85005@freebie.lemis.com> <199812220225.SAA02191@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 21 December 1998 at 18:25:33 -0800, Mike Smith wrote:
>>>>> pid 281 (Xaccel): trap 12 with interupts disabled
>>>>
>>>> Yes, I've noticed this one too.  It seems to have crept in relatively
>>>> recently, and strangely seems not to cause any problems.
>>>
>>> The diagnostic just warns of a bad situation (Xaccel has turned off
>>> interrupts for some reason, and then pagefaulted), it doesn't mention
>>> that it has in fact turned interrupts back on so that the pagefault can
>>> be safely completed.
>>
>> If my page fault fails because I've blocked the interrupt, I'd expect
>> some serious damage to happen to the process environment.n
>
> Usually you're lucky and something else turns them on unconditionally.
> This test simply makes damn sure that if you take a fault interrupts
> get turned back on.

Ah.  You mean we don't block the fault, just other interrupts?  That
makes more sense.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981222125858.X85005>