public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/25051] aarch64, powerpc64 uses surplus static tls for dynamically loaded dsos
[not found] <bug-25051-131@http.sourceware.org/bugzilla/>
@ 2020-07-04 10:36 ` mitya57 at debian dot org
2020-07-08 16:34 ` cvs-commit at gcc dot gnu.org
2020-07-08 16:41 ` nsz at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: mitya57 at debian dot org @ 2020-07-04 10:36 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25051
Dmitry Shachnev <mitya57 at debian dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mitya57 at debian dot org
--- Comment #3 from Dmitry Shachnev <mitya57 at debian dot org> ---
We got bug reports about a similar issue in Debian [1] (which affects PyQt5 and
PySide packages on aarch64).
The latest version (v5) of the patch from [2] works, thanks!
[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964141
[2]: https://sourceware.org/pipermail/libc-alpha/2020-June/115284.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug dynamic-link/25051] aarch64, powerpc64 uses surplus static tls for dynamically loaded dsos
[not found] <bug-25051-131@http.sourceware.org/bugzilla/>
2020-07-04 10:36 ` [Bug dynamic-link/25051] aarch64, powerpc64 uses surplus static tls for dynamically loaded dsos mitya57 at debian dot org
@ 2020-07-08 16:34 ` cvs-commit at gcc dot gnu.org
2020-07-08 16:41 ` nsz at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-07-08 16:34 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25051
--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Szabolcs Nagy <nsz@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ffb17e7ba3a5ba9632cee97330b325072fbe41dd
commit ffb17e7ba3a5ba9632cee97330b325072fbe41dd
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Wed Jun 10 13:40:40 2020 +0100
rtld: Avoid using up static TLS surplus for optimizations [BZ #25051]
On some targets static TLS surplus area can be used opportunistically
for dynamically loaded modules such that the TLS access then becomes
faster (TLSDESC and powerpc TLS optimization). However we don't want
all surplus TLS to be used for this optimization because dynamically
loaded modules with initial-exec model TLS can only use surplus TLS.
The new contract for surplus static TLS use is:
- libc.so can have up to 192 bytes of IE TLS,
- other system libraries together can have up to 144 bytes of IE TLS.
- Some "optional" static TLS is available for opportunistic use.
The optional TLS is now tunable: rtld.optional_static_tls, so users
can directly affect the allocated static TLS size. (Note that module
unloading with dlclose does not reclaim static TLS. After the optional
TLS runs out, TLS access is no longer optimized to use static TLS.)
The default setting of rtld.optional_static_tls is 512 so the surplus
TLS is 3*192 + 4*144 + 512 = 1664 by default, the same as before.
Fixes BZ #25051.
Tested on aarch64-linux-gnu and x86_64-linux-gnu.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug dynamic-link/25051] aarch64, powerpc64 uses surplus static tls for dynamically loaded dsos
[not found] <bug-25051-131@http.sourceware.org/bugzilla/>
2020-07-04 10:36 ` [Bug dynamic-link/25051] aarch64, powerpc64 uses surplus static tls for dynamically loaded dsos mitya57 at debian dot org
2020-07-08 16:34 ` cvs-commit at gcc dot gnu.org
@ 2020-07-08 16:41 ` nsz at gcc dot gnu.org
2 siblings, 0 replies; 3+ messages in thread
From: nsz at gcc dot gnu.org @ 2020-07-08 16:41 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=25051
Szabolcs Nagy <nsz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2.32
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Szabolcs Nagy <nsz at gcc dot gnu.org> ---
fixed for 2.32.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-08 16:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-25051-131@http.sourceware.org/bugzilla/>
2020-07-04 10:36 ` [Bug dynamic-link/25051] aarch64, powerpc64 uses surplus static tls for dynamically loaded dsos mitya57 at debian dot org
2020-07-08 16:34 ` cvs-commit at gcc dot gnu.org
2020-07-08 16:41 ` nsz at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).