Re: [PATCH] Retrieval of TLS pointer via RDHWR

[ Available lists | Index of freebsd-mips | Month of Jan 2011 | Week of 2 Jan 2011 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Jayachandran C. <c.jayachandran@gmail.com>
Date
2 Jan 2011 07:39:55
Subject
Re: [PATCH] Retrieval of TLS pointer via RDHWR
Message-ID
AANLkTinF4QWRWfZi_B3b=6RriD1k90j0qTiPcD9cvO6H@mail.gmail.com

In reply to

[ Hide this part ]
On Fri, Dec 31, 2010 at 8:36 PM, Robert Millan <rmh@debian.org> wrote:
> 2010/12/28 Warner Losh <imp@bsdimp.com>:
>> I reviewed the patch, and I liked it. Couldn't find anything wrong with it
>> when I first looked at it. Would be nice if things were more flexible, but
>> since generalizing from a sample size of one can be hard, I totally agree.
>
> Great. So will someone commit this? :-)

I will look at committing this.

BTW, The netlogic(RMI) contributed code had a different implementation
for this. The User Reserved Instruction exception had a fast path for
RDHWR which used k0/k1 and returned the value without taking the full
trap. I hadn't looked at adding that either (mostly because I did
not see an immediate requirement).

Another emulation missing in the kernel is for floating point...

Regards,
JC.

Elapsed time: 0.251 seconds