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] [XEN][vNUMA][PATCH 7/9] Build NUMA HVM

To: Dulloor <dulloor@xxxxxxxxx>
Subject: Re: [Xen-devel] [XEN][vNUMA][PATCH 7/9] Build NUMA HVM
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Mon, 5 Jul 2010 10:55:32 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 05 Jul 2010 02:56:44 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=tVvGk64uJmu0hYdeSufgNPKdsSWvG6SuwWZKahE66Sw=; b=PnG3hArQOZS+9oeFthZ6AfEYD9kC+5bQ4C/DBZdcczenDQRkksKnh3nQXFvryoz/TV RlJgdKtkGUcba9jj+4iLphFt4uR13vcYRLfX2kJXA4FK0+KnlJF6p+dhw5taWCLQeZTq lqJWg/A39B0elQ9q34yjDQ9e9tih+nmEj8xJo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=bM5lGNEagrIhc7sfqOBObmK/mWZC1dADEheXUpSs3jN8xyBJenMf/j8K2sdGQTNgPx 0AAxgM/Asw/vLlKp+TF0/8/Ai6CAYz5FoU/UGmjet3jiyeFP7xNmdpLGfo9YU+wQE2DC U6hmdYDsRxyQaUNVHsgMsmw9lXsZduRkvK2u8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTil6lggj7AAMWZ31WG1b-J1MxUMI3M4FvKQMPAZ8@xxxxxxxxxxxxxx>
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>
References: <1BEA8649F0C00540AB2811D7922ECB6C9338B4D2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTil6lggj7AAMWZ31WG1b-J1MxUMI3M4FvKQMPAZ8@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
What's this line for:

>+    if (nr_pages > target_pages)
>     {
>-        PERROR("Could not allocate memory.");
>-        goto error_out;
>+        pod_mode = 1;
>+        mem_flags |= XENMEMF_populate_on_demand;
>+        IPRINTF("I SHOULDN'T BE HERE !!\n");

It's not clear what this patch does to the PoD logic... does it still
need some work, or should I try harder to grok it?  Have you tested it
in PoD mode?

 -George

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