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] PoD: Allocate 4k pages if 2 meg allocation fails

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: [PATCH] PoD: Allocate 4k pages if 2 meg allocation fails
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Thu, 24 Sep 2009 10:43:26 +0100
Delivery-date: Thu, 24 Sep 2009 02:43:53 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=hayzOJxyXLUfOeiRbAWRFvgakTX2JfC1a0Ee9VHHSZ8=; b=rzk3Yl3LPcsC20yWX78F87qX9ClBoIiBEW6RVsaSSPrjEO5p/b269qVsJ22/qxBCkC ZeX2arfL2GM++hz3PtQr+4Hpc8V1Ms0UFGg698EX/ZdE8HDXkoYececHGrsmdxBfcarf WCBZvhvtpxKtxighgeXIUr278ErGtvlitzaws=
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:content-type; b=V36SOQY6/JcmKocNM2tUOKI4OtpTluJ7ZElFONGPbR3kcVbKsoqLFiUKYMEAloypU8 zW289B+zaUehUqhTYu7T+GF6ZJRn49MSysRzXXFww0I/SRtoFTjZ11ea2JaWzFopc5Yb jerprQQ6oOIToqslDsQHNSl5M2sbT+FotOuEo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <de76405a0909240240g78466ebdnc6f6f96428cd75be@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: <de76405a0909240240g78466ebdnc6f6f96428cd75be@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Including the patch...

On Thu, Sep 24, 2009 at 10:40 AM, George Dunlap <dunlapg@xxxxxxxxx> wrote:
> In p2m_pod_set_cache_target:
> * If a 2-meg allocation fails, try a 4k allocation
> * If both allocations fail, return -ENOMEM so that the domain build will fail.
>
> Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
>

Attachment: 20090923-pod-alloc-4k-if-2m-fails.diff
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>