From owner-freebsd-current Mon Dec 7 16:29:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA08406 for freebsd-current-outgoing; Mon, 7 Dec 1998 16:29:40 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (ppp4.portal.net.au [202.12.71.104]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA08401 for ; Mon, 7 Dec 1998 16:29:37 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id QAA01208; Mon, 7 Dec 1998 16:27:23 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812080027.QAA01208@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Rodney W. Grimes" cc: bde@zeta.org.au (Bruce Evans), freebsd-current@FreeBSD.ORG Subject: Re: sio breakage In-reply-to: Your message of "Mon, 07 Dec 1998 14:59:40 PST." <199812072259.OAA26700@GndRsh.aac.dev.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 07 Dec 1998 16:27:21 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > ... > > > > something() > > { > > asm("cli"); > > asm("sti"); > > } > > > ... > > > > Fixes: > > kernel: send a fatal signal to applications that do this. > > applications: don't do this. If interrupts must be disabled, then all > > critical code and data must be within one page. > > Do we have the equivelent of the VMS wire(memory_range) call so that > programs can force thier critical code sections to be non page faultable? mlock() -- \\ 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