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

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



On Fri, Sep 19, 2014 at 6:18 PM, Henrique de Moraes Holschuh
<hmh@debian.org> wrote:
> On Fri, 19 Sep 2014, Henrique de Moraes Holschuh wrote:
>> I can live with that, and I think I can prepare a patch if you want me to.
>
> Here's a minimal patch to glibc that should do it (compile tested).

The GNU C Library only uses elision if built with --enable-lock-elision=yes.

All you need to do is not build glibc with this flag.

Cheers,
Carlos.


Reply to: