Implementing TLS: step 1

Igor Sysoev is at rambler-co.ru
Fri Jun 20 04:00:34 PDT 2003


On Fri, 20 Jun 2003, Terry Lambert wrote:

> 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.

LDT can have 8192 descriptors.
GDT can have 8191 usefull descriptors. The first descriptor is null one.


Igor Sysoev
http://sysoev.ru/en/



More information about the freebsd-threads mailing list