Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Dec 1998 16:27:21 -0800
From:      Mike Smith <mike@smith.net.au>
To:        "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com>
Cc:        bde@zeta.org.au (Bruce Evans), freebsd-current@FreeBSD.ORG
Subject:   Re: sio breakage 
Message-ID:  <199812080027.QAA01208@dingo.cdrom.com>
In-Reply-To: Your message of "Mon, 07 Dec 1998 14:59:40 PST." <199812072259.OAA26700@GndRsh.aac.dev.com> 

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



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