Date: Thu, 24 Jul 2003 21:37:35 -0400 (EDT) From: Daniel Eischen <eischen@vigrid.com> To: David Xu <davidxu@freebsd.org> Cc: marcel@xcllnt.net Subject: Re: KSD/TSD take 2 (was: KSE critical regions) Message-ID: <Pine.GSO.4.10.10307242135140.10140-100000@pcnet5.pcnet.com> In-Reply-To: <005701c35238$dc713a00$0701a8c0@tiger>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 Jul 2003, David Xu wrote: > > From: "Julian Elischer" <julian@elischer.org> > > > I was hoping to optimise by making the kse_create(mboxaddr) > > call allocate the LDT entry and set the gs register to point to the > > mailbox. making the two things differnt makes it less likely that > > making that optimisation makes sense. > > > > Dan has two fields in kse_mailbox: > > void *km_ksdaddr; /* KSE specific data address */ > uint32_t km_ksdsize; /* KSE specific data size */ > > I think it is used to tell kernel to map start address > of libkse's kse mailbox like above lib_kse_mailbox. Yes, that is what it is for. We really need this for amd64, so we might as well do it for x86. We'll need MD functions in the kernel to do this; they'll do nothing for all archs except x86 and amd64. -- Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10307242135140.10140-100000>