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] [PATCH 3/3] x86_64: allow more vCPU-s per guest

To: Jan Beulich <JBeulich@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 3/3] x86_64: allow more vCPU-s per guest
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 18 Jun 2009 10:16:43 +0100
Cc:
Delivery-date: Thu, 18 Jun 2009 02:17:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A2FE3F50200007800005304@xxxxxxxxxxxxxxxxxx>
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: Acnp2oUtwT5+5JFQQgqj+Gq9PHfjDAGGvmcb
Thread-topic: [Xen-devel] [PATCH 3/3] x86_64: allow more vCPU-s per guest
User-agent: Microsoft-Entourage/12.19.0.090515
On 10/06/2009 15:48, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

> Since the shared info layout is fixed, guests are required to use
> VCPUOP_register_vcpu_info prior to booting any vCPU beyond the
> traditional limit of 32.

Applied. Is the vcpu[] array re-allocation in XEN_DOMCTL_max_vcpus an
example of over-optimistic-concurrency-control? It can't really be 100% safe
without extra locking on all users of that array (not good), or using rcu
(better), can it. The wmb() is a nice try. ;-)

 -- Keir



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