Subject: Re: per-cpu TSS
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Andrew Doran <ad@netbsd.org>
List: port-i386
Date: 12/15/2007 05:33:27
On Sat, Dec 15, 2007 at 07:39:24AM +0900, YAMAMOTO Takashi wrote:

> > > does anyone want to implement "gdt entry swapping" which mycroft suggested?
> > > although i'm not really sure if i understand what he meant correctly,
> > > it sounds like too much complexity for little gain.
> > 
> > I read it as having one LDT descriptor in each per-CPU GDT, which is then
> > updated in cpu_switchto() to point to a new area. We already update GDT
> > descriptors for the user-set fsbase and gsbase.
> 
> i want to get rid of ltr from cpu_switchto.

I understand - I assumed without checking that the TSS descriptor was in the
LDT, and was giving my interpretation of what Charles proposed.

Thanks,
Andrew