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

[Xen-devel] Re: [PATCH] Fixed legacy issues when extends number of vcpus

To: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] Fixed legacy issues when extends number of vcpus > 32
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sun, 16 Aug 2009 10:55:47 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 16 Aug 2009 02:56:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <706158FABBBA044BAD4FE898A02E4BC201C0553F3B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: AcoeF6u/T7x3fDZwRTGhuLTahDvILQAL2GrBAAHwiDAAAjqxHA==
Thread-topic: [PATCH] Fixed legacy issues when extends number of vcpus > 32
User-agent: Microsoft-Entourage/12.20.0.090605
On 16/08/2009 09:55, "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx> wrote:

> Keir Fraser wrote:
>> Let me think about these. For patch 1 I think we can perhaps do more
>> work in the loop which matches vlapic identifiers, and thus avoid
>> needing a "temporary cpumask" to remember matches. For patch 2 I've
>> been intending to throw away the VMX VPID logic and share the SVM
>> logic, as it flushes TLBs no more than the VMX logic and doesn't
>> suffer the same problems with VPID/ASID exhaustion.
> 
> We have 2^16 vpids after removing the limit, so it should support 65535 vcpus
> runing concurrently in a system, so we don't need to consider the exhaustion
> case from this point of view ?

Why have two sets of logic when one is superior to the other? It doesn't
make sense. I'll take a look at your patch and apply it for now, however.

 -- Keir



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