This is the mail archive of the
mailing list for the glibc project.
[Bug nptl/10686] New: Request for new TLS field for x86 and x86_64
- From: "ian at airs dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 23 Sep 2009 05:23:07 -0000
- Subject: [Bug nptl/10686] New: Request for new TLS field for x86 and x86_64
- Reply-to: sourceware-bugzilla at sourceware dot org
In http://gcc.gnu.org/wiki/SplitStacks I describe an enhancement to gcc to
support discontiguous stacks. This is useful for permitting a large number of
threads to flexibly share stack space. It is possible to have many more threads
executing when they do not all have to simultaneously have the maximum required
stack space. This is naturally most useful when using a 32-bit address space.
I'm working on adding this to gcc.
I think the best approach to make this efficient on x86 and x86_64 will be to
store the current stack limit, less some appropriate offset, in the TCB header.
Therefore, I would like to request a new field in the TCB header, at a fixed
offset, for x86 and x86_64. The field should have type void * or uintptr_t.
Summary: Request for new TLS field for x86 and x86_64
AssignedTo: drepper at redhat dot com
ReportedBy: ian at airs dot com
CC: glibc-bugs at sources dot redhat dot com
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.