[PATCH] PowerPC thread pointer bias requires powerpc/lowlevelrobustlock.sym

Fabio Massimo Di Nitto fabbione@ubuntu.com
Thu Nov 2 05:55:00 GMT 2006


Benjamin Herrenschmidt wrote:
> On Wed, 2006-11-01 at 18:14 -0600, Ryan S. Arnold wrote:
>> I've been sitting on this patch for way too long.  
>>
>> The TID implementation in the default lowlevelrobustlock.sym is wrong
>> for PowerPC.  The thread point on PowerPC is biased by -0x7000 to extend
>> the size of the FAST TLS to 64KB.  This patch provides a powerpc
>> implementation to take this into account.
> 
> Fabio, Jeff: That should fix the root cause of the errors on 2.6.18 and
> later for which my patch corrected the kernel oops (you would still have
> gotten an error from the syscall due to that glibc problem).
> 
> Ben.
> 

Perfect. I will apply in the next upload.

Thanks
Fabio

-- 
I'm going to make him an offer he can't refuse.



More information about the Libc-alpha mailing list