From owner-freebsd-current Mon Dec 21 18:33:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA04502 for freebsd-current-outgoing; Mon, 21 Dec 1998 18:33:45 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA04496 for ; Mon, 21 Dec 1998 18:33:44 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id SAA02237; Mon, 21 Dec 1998 18:30:20 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812220230.SAA02237@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Greg Lehey cc: Mike Smith , current@FreeBSD.ORG Subject: Re: trap 12 with interrupts disabled In-reply-to: Your message of "Tue, 22 Dec 1998 12:58:58 +1030." <19981222125858.X85005@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 Dec 1998 18:30:20 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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. Yes; traps aren't interrupts. -- \\ 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