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] RE: [PATCH] Allocate vmcs pages when system booting

To: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] RE: [PATCH] Allocate vmcs pages when system booting
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sun, 17 Jan 2010 21:35:10 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 17 Jan 2010 13:37:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C8EDE645B81E5141A8C6B2F73FD926511499ACD9E7@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: AcqVxVme7EN1OoA5TyaMx+UMKHT6NwACJIqgAFJQcYAAKXERPQ==
Thread-topic: [Xen-devel] RE: [PATCH] Allocate vmcs pages when system booting
User-agent: Microsoft-Entourage/12.23.0.091001
On 17/01/2010 02:02, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:

> After reading the code again, I think maybe I missed one possible place to
> achieve the same purpose. We can simply allocate the VMCS pag from cpu_hotadd
> in XENPF_cpu_hotadd, where the CPU changed from possible to present. Later,
> when we bring-up the CPU, we don't need allocate VMCS page anymore. That is,
> we will allocate VMCS pages still, but only for present cpus, not possible
> CPUs. When CPU is changed from logical online to offline, this VMCS page will
> not be freed.
> 
> Do you agree this method?

I will come up with a patch tomorrow for you to try.

 -- Keir



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