summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/enlighten.c
diff options
context:
space:
mode:
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>2011-10-19 17:59:37 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-11-16 12:13:43 -0500
commit72e9cf2ab12ef3e050577ffebdb0c88a28df821d (patch)
tree8b514d680a2af0907705319f078d4f6ec89d03df /arch/x86/xen/enlighten.c
parent5f76d7078ce784916d55fc4e1bb0a42985f085a6 (diff)
downloadlinux-72e9cf2ab12ef3e050577ffebdb0c88a28df821d.tar.gz
linux-72e9cf2ab12ef3e050577ffebdb0c88a28df821d.tar.bz2
linux-72e9cf2ab12ef3e050577ffebdb0c88a28df821d.zip
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 <dgdegra@tycho.nsa.gov> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
0 files changed, 0 insertions, 0 deletions