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

2014-09-19 Thread Henrique de Moraes Holschuh
Package: libc6 Version: 2.19-0experimental0 Severity: grave Justification: causes non-serious data loss libpthread-2.19 has HLE (hardware-assisted lock elision) support. Unfortunately, on Intel-based x86 processors, the use of HLE is currently hazardous. Summary: Use of HLE on all current Intel

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

2014-09-19 Thread Aurelien Jarno
On Fri, Sep 19, 2014 at 10:09:24AM -0300, Henrique de Moraes Holschuh wrote: Package: libc6 Version: 2.19-0experimental0 Severity: grave Justification: causes non-serious data loss libpthread-2.19 has HLE (hardware-assisted lock elision) support. Unfortunately, on Intel-based x86

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

2014-09-19 Thread Henrique de Moraes Holschuh
On Fri, 19 Sep 2014, Aurelien Jarno wrote: It looks like Intel did crap there, and that the GNU libc has to handle this crap. The microcode update could have stop advertising the instructions while still supporting them... They had their reasons to not do it that way, I suppose. I don't think

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

2014-09-19 Thread Henrique de Moraes Holschuh
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). This minimal patch does not give the local admin any way to override the Intel TSX blacklist. I

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

2014-09-19 Thread Carlos O'Donell
On Fri, Sep 19, 2014 at 6:18 PM, Henrique de Moraes Holschuh h...@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

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

2014-09-19 Thread Henrique de Moraes Holschuh
On Fri, 19 Sep 2014, Carlos O'Donell wrote: On Fri, Sep 19, 2014 at 6:18 PM, Henrique de Moraes Holschuh h...@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

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

2014-09-19 Thread Carlos O'Donell
On Fri, Sep 19, 2014 at 9:59 PM, Henrique de Moraes Holschuh h...@debian.org wrote: On Fri, 19 Sep 2014, Carlos O'Donell wrote: On Fri, Sep 19, 2014 at 6:18 PM, Henrique de Moraes Holschuh h...@debian.org wrote: On Fri, 19 Sep 2014, Henrique de Moraes Holschuh wrote: I can live with that,

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

2014-09-19 Thread Henrique de Moraes Holschuh
On Sat, 20 Sep 2014, Carlos O'Donell wrote: On Fri, Sep 19, 2014 at 9:59 PM, Henrique de Moraes Holschuh h...@debian.org wrote: On Fri, 19 Sep 2014, Carlos O'Donell wrote: On Fri, Sep 19, 2014 at 6:18 PM, Henrique de Moraes Holschuh h...@debian.org wrote: On Fri, 19 Sep 2014, Henrique