linux-mips
[Top] [All Lists]

Re: Kernel ll/sc emulation?

To: "H. J. Lu" <hjl@lucon.org>
Subject: Re: Kernel ll/sc emulation?
From: Daniel Jacobowitz <dan@debian.org>
Date: Tue, 2 Jul 2002 14:58:48 -0400
Cc: Eric Christopher <echristo@redhat.com>, bkoz@redhat.com, linux-mips@oss.sgi.com
In-reply-to: <20020701192415.A2617@lucon.org>
References: <1025548213.1438.7.camel@ghostwheel.cygnus.com> <20020701122313.35d7dd56.bkoz@redhat.com> <1025562305.28484.1.camel@ghostwheel.cygnus.com> <20020701153438.A31602@lucon.org> <1025568244.30577.16.camel@ghostwheel.cygnus.com> <20020701182418.A1600@lucon.org> <1025574335.30581.44.camel@ghostwheel.cygnus.com> <20020701185158.A2134@lucon.org> <1025574717.30577.48.camel@ghostwheel.cygnus.com> <20020701192415.A2617@lucon.org>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.5.1i
On Mon, Jul 01, 2002 at 07:24:15PM -0700, H. J. Lu wrote:
> On Mon, Jul 01, 2002 at 06:51:57PM -0700, Eric Christopher wrote:
> > 
> > > What do you meant by "it'll be emulated if it fails"? I didn't see any
> > > ll/sc emulation in the Linux mips kernel. If you use ll/sc on CPU which
> > > doesn't implement ll/sc, your binary will just dump core.
> > 
> > The kernel should trap and emulate the instruction at that point, at
> > least as far as I've been told.
> > 
> 
> That is a news to me. I couldn't find it anywhere in the Linux mips
> kernel. Could someone point me to the right place in the Linux mips
> kernel source tree?

Early 2.4; after 2.4.2 but before 2.4.9 or so.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


<Prev in Thread] Current Thread [Next in Thread>