This is the mail archive of the libc-alpha@sources.redhat.com 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] PPC linuxthreads tls.h fix


On Fri, Feb 28, 2003 at 12:00:26PM +1100, Paul Mackerras wrote:
> Steven Munroe writes:
> I would like a multiple_threads field in the tcbhead_t in the TLS case
> for ppc32 as well, since it would make the check for multiple threads
> fast and easy.  I will talk to Alan about expanding the TCB to 16
> bytes on ppc32 to accommodate that.

This, I think is a mistake.  There's a difference between
the "tcbhead_t", i.e. the dtv/reserved double word, and the
thread control block used by the thread library.

We've already reserved offsets [-0x8000,-0x7010] from TP
for the private use of the thread library.  Seems to me that
bit o data can go in there somewhere.


r~


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