[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, 19 Sep 2014, Carlos O'Donell wrote:
> 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.

Given Jessie's expected lifetime, I'd say the blacklist is a much better
choice with the data currently available.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


Reply to: