Implementing TLS: step 1
Terry Lambert
tlambert2 at mindspring.com
Fri Jun 20 00:37:21 PDT 2003
Julian Elischer wrote:
> The big cost is that a processin x86 can only have a limited number of
> segments set up in teh Local descriptor table (LDT).
> I forget the actual number but i vaguely remember that it is 16383 or
> 8191 or something.
65536, but it includes the recursive mapping and the call trap, etc.,
so it's reall 65531.
This is one reason we don't use the TSS for context switching,
and why Linux, which used to use the TSS, doesn't use it any
more.
-- Terry
More information about the freebsd-threads
mailing list