diff options
| author | Daniel De Graaf <[email protected]> | 2011-10-19 21:59:37 +0000 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <[email protected]> | 2011-11-16 17:13:43 +0000 |
| commit | 72e9cf2ab12ef3e050577ffebdb0c88a28df821d (patch) | |
| tree | 8b514d680a2af0907705319f078d4f6ec89d03df /lib/debugobjects.c | |
| parent | xen: Remove hanging references to CONFIG_XEN_PLATFORM_PCI (diff) | |
| download | kernel-72e9cf2ab12ef3e050577ffebdb0c88a28df821d.tar.gz kernel-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 <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
