[Bug 1414819] Re: Enable glibc to take advantage of HTM on Ubuntu 15.04
Steve Langasek
steve.langasek at canonical.com
Mon Jan 26 23:36:17 UTC 2015
In speaking with Adam, I understand our target glibc version for 15.04
is 2.21, not 2.20. As 2.21 has not yet been released and validated
across Ubuntu's architectures, there's some risk that 2.21 will not be
included in 15.04. However, if it's not included for 15.04 we would be
shipping 2.19, not 2.20.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1414819
Title:
Enable glibc to take advantage of HTM on Ubuntu 15.04
Status in glibc package in Ubuntu:
New
Bug description:
This Feature request is to track Ubuntu's glibc to take advatnage of
Hardware Transactional memory on Ubuntu 15.04.
Adhmerval is porting eglibc threads mechanism to use hardware
transactional memory, and this is a feature we want to have on Ubuntu.
Bugs:
https://bugs.launchpad.net/tasty-taco/+bug/1328210 (HTM exploitation on GLIBC)
Patches upstream:
https://sourceware.org/ml/libc-alpha/2014-08/msg00409.html
https://sourceware.org/ml/libc-alpha/2014-08/msg00410.html
https://sourceware.org/ml/libc-alpha/2014-08/msg00411.html
https://sourceware.org/ml/libc-alpha/2014-08/msg00412.html
I updated the IBM 2.20 branch (used for AT8) with the lock elision
patches [1], with the IDs:
powerpc: Add the lock elision using HTM - 1d45200a803939be3316b7ddf442906d544e9d43
powerpc: Add adaptive elision to rwlocks - 0f7cecb9cf4b370c3d72f67e048bb07e238cf110
powerpc: abort transaction in syscalls - 1d19c9bc0dabb1d10c07cf4eec063f9da8406c2f
It should apply cleanly on a 2.20 tree. Also, to enable it you need
to explicit configure the build with
--enable-lock-elision=yes
[1]
https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/ibm/2.20/master
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1414819/+subscriptions
More information about the foundations-bugs
mailing list