From: George Dunlap Subject: [PATCH] PoD: Allocate 4k pages if 2 meg allocation fails Date: Thu, 24 Sep 2009 10:40:11 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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