This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC PATCH glibc] pthread_setspecific: Provide signal-safety across keys


On 10/18/2017 09:21 AM, Mathieu Desnoyers wrote:
> So let's assume dlopen failure is acceptable if there are too many
> initial-exec TLS. Would it work today to fix signal handler tracing
> by changing lttng-ust to use TLS_IE, or would it require changes to
> glibc ?

No changes to glibc are required. We already use TLS IE in glibc
specifically to fix this issue. Also libGL also uses TLS IE in
the distro for performance reasons, so we get testing there.

How much TLS data do you have? With libGL it's just a few words,
and there is lots of spare space in the static TLS space for
that.

-- 
Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]