This is the mail archive of the glibc-bugs@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]

[Bug nptl/10686] New: Request for new TLS field for x86 and x86_64


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.

Thanks.

-- 
           Summary: Request for new TLS field for x86 and x86_64
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: nptl
        AssignedTo: drepper at redhat dot com
        ReportedBy: ian at airs dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10686

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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