Implementing TLS: step 1
Daniel Eischen
eischen at vigrid.com
Thu Jun 19 16:32:11 PDT 2003
On Thu, 19 Jun 2003, Julian Elischer wrote:
> On Thu, 19 Jun 2003, Daniel Eischen wrote:
> >
> > It is not just that. It is the cost of an ldt allocation for
> > each thread. In libkse, we only need as many LDTs as there
> > are KSEs. Allocating an ldt per-thread increases thread
> > startup and teardown.
>
> BTW I think we should make kse_create() create the LDT entry
> and return the new segment descriptor inteh mailbox ....
>
> (just a thought.. (irrelevant to this discussion))
Sure, I think I agreed to this a while back. It can
be back-burnered if necessary, though, since we've already
got the code that does the allocations/deallocations.
--
Dan Eischen
More information about the freebsd-threads
mailing list