[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Implementing TLS: step 1
- Subject: Implementing TLS: step 1
- From: eischen at vigrid.com (Daniel Eischen)
- Date: Thu Jun 19 16:32:13 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
Visit your host, monkey.org