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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH, RFC] x86: make the GDT per-CPU

To: Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH, RFC] x86: make the GDT per-CPU
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: 2008年9月11日 14:15:51 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2008年9月11日 06:16:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48C92E69.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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckUEIMzwciO1IADEd2NXQAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH, RFC] x86: make the GDT per-CPU
User-agent: Microsoft-Entourage/11.4.0.080122
On 11/9/08 13:42, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:
>> No, this would break 32-bits at least: The GDT entry for the selector
>> loaded into TR must remain a valid, busy TSS descriptor for the whole
>> lifetime of the system. So it can't be shared with the LDT. But even for
>> 64-bits I would fear using the same GDT slot for both LDT and GDT
>> loading.
>
> Actually, there's a second aspect here, too (again for 32-bits): As a
> follow-up patch I'm planning to make the double fault TSS per-CPU, too.
> This wasn't as simple with the global GDT as it would be with the per-CPU
> one.
Well, the extra LGDT looks like it will take about 130 cycles on Core-2
hardware. I suppose that is tolerable.
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] VT-d scalability issue , Zhai, Edwin
Next by Date: Re: [Xen-devel] Re: [PATCH 1/4] CPU online/offline support in Xen , Keir Fraser
Previous by Thread: Re: [Xen-devel] [PATCH, RFC] x86: make the GDT per-CPU , Jan Beulich
Next by Thread: [Xen-devel] kernel BUG at arch/i386/mm/hypervisor.c , "T. Eichstädt"
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /