Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2003 19:32:06 -0400 (EDT)
From:      Daniel Eischen <eischen@vigrid.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        threads@freebsd.org
Subject:   Re: Implementing TLS: step 1
Message-ID:  <Pine.GSO.4.10.10306191930260.11550-100000@pcnet5.pcnet.com>
In-Reply-To: <Pine.BSF.4.21.0306191623570.41210-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10306191930260.11550-100000>