Re: [patch] tls-2.5.30-A1

Ingo Molnar
2002-08-07T19:28:54Z

On Wed, 7 Aug 2002, Linus Torvalds wrote:

> I would suggest:
> - move all kernel-related (and thus non-visible to user space) segments
> up, and make the cacheline optimizations _there_.
> - keep the TLS entries contiguous, and make sure that segment 0040 (ie
> GDT entry #8) is available to a TLS entry, since if I remember
> correctly, that one is also magical for old Windows binaries for all
> the wrong reasons (ie it was some system data area in DOS and in
> Windows 3.1)
> - and for cleanliness bonus points: make the regular user data segments
> just another TLS segment that just happens to have default values. If
> the user wants to screw with its own segments, let it.

i'll do this. Julliard, any additional suggestions perhaps - is GDT entry
8 the best %fs choice for Wine?

Ingo