Date: Fri, 18 Jul 2003 16:22:30 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: deischen@freebsd.org Cc: Julian Elischer <julian@elischer.org> Subject: Re: Rearranging kse mailbox Message-ID: <20030718232230.GA35603@dhcp01.pn.xcllnt.net> In-Reply-To: <Pine.GSO.4.10.10307181835080.18163-100000@pcnet5.pcnet.com> References: <20030718223119.GB35221@dhcp01.pn.xcllnt.net> <Pine.GSO.4.10.10307181835080.18163-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 18, 2003 at 06:40:07PM -0400, Daniel Eischen wrote: > > Note that the extra level of indirection on ia64 can be avoided if > > we put the thread control structure at a negative offset from TP. > > The layout would be something like: > > > > -... 0 8 16 ...+ > > [thread structure][DTV pointer][free][static TLS] > > ^ > > TP > > Can we make this work so that we are not limited to > 8192 (or whatever max user LDTs are) threads on i386? The layout may be specific to ia64. I don't think we should try to unify too much across platforms. As for the LDT limit: We could keep %gs constant and change the LDT entry on a thread switch. That way we only use 1 LDT entry... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030718232230.GA35603>