[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] PoD: Allocate 4k pages if 2 meg allocation fails


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: George Dunlap <dunlapg@xxxxxxxxx>
  • Date: Thu, 24 Sep 2009 10:40:11 +0100
  • Delivery-date: Thu, 24 Sep 2009 02:40:38 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.