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: [PATCH] Async signal safe TLS accesses


On Fri, Nov 29, 2013 at 04:55:48AM +0100, OndÅej BÃlka wrote:
> A proper solution would be make generic malloc async-signal safe. It is 
> question of what is acceptable overhead. I can make a wrapper over any
> allocator that does that at cost of two tls access. You would pay a mmap
> overhead only when you are in signal where we do not care about
> effectivity.

Not a solution as long as glibc officially supports applications
replacing malloc.

Rich


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