Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 00:35:46 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        Marcel Moolenaar <marcel@xcllnt.net>
Subject:   Re: Implementing TLS: step 1
Message-ID:  <3EF2B952.64E731F9@mindspring.com>
References:  <Pine.BSF.4.21.0306191605490.41210-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EF2B952.64E731F9>