From: Keir Fraser Subject: Re: [PATCH 3/3] x86_64: allow more vCPU-s per guest Date: Thu, 18 Jun 2009 10:16:43 +0100 Message-ID: References: <4A2FE3F50200007800005304@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A2FE3F50200007800005304@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 10/06/2009 15:48, "Jan Beulich" 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