linux-mips
[Top] [All Lists]

Re: TLS register for NPTL

To: Carl van Schaik <carl@ok-labs.com>
Subject: Re: TLS register for NPTL
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 21 Aug 2007 13:42:23 +0100
Cc: Thiemo Seufer <ths@networkno.de>, linux-mips@linux-mips.org
In-reply-to: <46CA45AD.8080203@ok-labs.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <46C93BB5.9050809@ok-labs.com> <20070820080627.GF4479@networkno.de> <20070820145449.GA11766@linux-mips.org> <46CA45AD.8080203@ok-labs.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
On Tue, Aug 21, 2007 at 11:53:49AM +1000, Carl van Schaik wrote:

> > Aside, latest MIPS processors support a hardware implementation of rdhwr 
> > $29,
> > so there is no more emulation overhead for this instruction at full binary
> > compatibility.
> >   
> Ok, I agree that this is probably the best way to go. In the L4
> microkernel we have for a long time used k0 (sony did this as well?),

For the PS2, yes.  Then again the R5900 design is screwed to the point where
it can't reasonably be exploited without adding another AI variant - but that
only makes the use of k0 a slightly less bad idea.

  Ralf

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