Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 1998 18:25:33 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Greg Lehey <grog@lemis.com>
Cc:        Mike Smith <mike@smith.net.au>, current@FreeBSD.ORG
Subject:   Re: trap 12 with interrupts disabled 
Message-ID:  <199812220225.SAA02191@dingo.cdrom.com>
In-Reply-To: Your message of "Tue, 22 Dec 1998 12:51:04 %2B1030." <19981222125104.V85005@freebie.lemis.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >>> 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.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



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?199812220225.SAA02191>