WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] 32bit/PAE guest on 64bit hypervisor work

To: Jan Beulich <jbeulich@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] 32bit/PAE guest on 64bit hypervisor work
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 21 Aug 2006 12:44:00 +0100
Delivery-date: Mon, 21 Aug 2006 04:44:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44E9AF6E.76E4.0078.0@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbFFxe/VmMOUjEKEduDqQAKle7CWA==
Thread-topic: [Xen-devel] 32bit/PAE guest on 64bit hypervisor work
User-agent: Microsoft-Entourage/11.2.5.060620


On 21/8/06 12:04 pm, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

>> context switch entries 3,4,5,6 of the GDT. In fact entry 3 can perhaps stay
>> as ring-1 code, and we only need to switch entries 4,5,6.
> 
> Hmm, that would mean per-CPU GDTs. I'm right now creating a second GDT,
> and map into the guest's page tables the appropriate one. On a context
> switch, the most that should be needed on top of what's done today then is
> to flush the one page from the TLB (I didn't check that, but I suppose it's
> a global translation).

Per-CPU GDTs would be perfectly acceptable (it's only an extra page per
CPU). But I suppose since we switch pagetables anyway on the ctxt switch
path we may as well just have the appropriate ones mapped in each pagetable,
and remove use of the global bit for that mapping.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel