From: Daniel De Graaf Date: Wed, 19 Oct 2011 21:59:37 +0000 (-0400) Subject: xen/balloon: Avoid OOM when requesting highmem X-Git-Tag: v3.2-rc3~38^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72e9cf2ab12ef3e050577ffebdb0c88a28df821d;p=pandora-kernel.git xen/balloon: Avoid OOM when requesting highmem If highmem pages are requested from the balloon on a system without highmem, the implementation of alloc_xenballooned_pages will allocate all available memory trying to find highmem pages to return. Allow low memory to be returned when highmem pages are requested to avoid this loop. Signed-off-by: Daniel De Graaf Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed