Re: Threads and the LDT (Intel-specific)?

2001-06-13 Thread Andi Kleen
Scott Long <[EMAIL PROTECTED]> writes: > I can also use the LDT to point to thread-specific segments. IMHO this > is much better than the stack trick used by linuxthreads. The problem Modern LinuxThreads (glibc 2.2) also uses modify_ldt for thread local data (much to the pain of the IA64 and x

Re: Threads and the LDT (Intel-specific)?

2001-06-10 Thread Jeff Dike
[EMAIL PROTECTED] said: > I'm trying to do something a bit unorthodox: I want to share the > address space between threads, but I want a certain region of the > address space to be writeable only for a particular thread -- for all > other threads this region is read-only. UML does this in a some

Threads and the LDT (Intel-specific)?

2001-06-10 Thread Scott Long
I'm trying to do something a bit unorthodox: I want to share the address space between threads, but I want a certain region of the address space to be writeable only for a particular thread -- for all other threads this region is read-only. I've considered several approaches. I'll only go over