[PATCH] Async signal safe TLS accesses
Rich Felker
dalias@aerifal.cx
Sat Nov 30 07:29:00 GMT 2013
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
More information about the Libc-alpha
mailing list