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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] PoD: Allocate 4k pages if 2 meg allocation fails
From: George Dunlap <dunlapg@xxxxxxxxx>
Date: Thu, 24 Sep 2009 10:40:11 +0100
Delivery-date: Thu, 24 Sep 2009 02:40:38 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=uJ062O7G4ICZj7jGnujrXXEvaihYtR77W5kRRE+UNnE=; b=EePcCQkhCEaIGGYkpIA4KA1ndI9Rw2X0iQPfAtc48utmDjMwZwFktM4ngdYfPOU6AG 4jOyDrbsp+z4exb09QdyqZm8PQK3c7iyMmpZOEIDCgU7FvwTRTjghczwl+0brHVh+igm dhA5wyLlhFMQof50w28cpj1UEajJC3j7Q5j/8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=n+dClnOr9RueWDjaWNSRXFlLOLhjXn9k26WbHMpCUYJA5glnJ5SEhbDI+N7LWeZACp CNbv6voREFVVQtFMtJ6HmUTYkdJgK9EuV+LZLPFqM0gjjmzGyiLL/0+F1p5EGXTBeKUW TbYVYsBbRRzdpnAZC/BCQo+6NtLlhkDSe6i3s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
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>

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

<Prev in Thread] Current Thread [Next in Thread>