[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#762195: libc6: libpthread: hardware-assisted lock elision hazardous on x86



On Thu, Oct 16, 2014 at 07:49:29PM -0400, Carlos O'Donell wrote:
> I disagree. IMO the most flexible approach is for glibc to stop using cpuid
> for RTM detection and rely on the kernel to tell it if RTM is usable. Then
> we have a single hardware blacklist in the kernel. We need to talk to
> kernel people about this. Not to mention we might extend a getauxval-type
> API to prevent applications from using cpuid directly e.g. create a
> platform header for this with an x86 specific feature interface.

That looks like a good plan in the long term, that said if we involve
the kernel in this it might takes months or even more until every is
ready and in sync.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: