This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/16291] feature request: provide simpler ways to compute stack and tls boundaries
- From: "neleai at seznam dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 04 Dec 2013 14:35:39 +0000
- Subject: [Bug libc/16291] feature request: provide simpler ways to compute stack and tls boundaries
- Auto-submitted: auto-generated
- References: <bug-16291-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16291
Ondrej Bilka <neleai at seznam dot cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |neleai at seznam dot cz
--- Comment #5 from Ondrej Bilka <neleai at seznam dot cz> ---
Adding a thread-local variable with current bounds would be more appropriate.
It is interesting from other reasons, for example deciding if memory should be
allocated by alloca or malloc.
As performance is concerned you cannot do much better, as malloc already uses
tls you can avoid that overhead.
Also how do you handle split-stacks? Its gcc feature that does more harm than
good so do you support that?
--
You are receiving this mail because:
You are on the CC list for the bug.