diff options
author | Daniel De Graaf <[email protected]> | 2011-10-19 17:59:37 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2011-11-16 12:13:43 -0500 |
commit | 72e9cf2ab12ef3e050577ffebdb0c88a28df821d (patch) | |
tree | 8b514d680a2af0907705319f078d4f6ec89d03df /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 5f76d7078ce784916d55fc4e1bb0a42985f085a6 (diff) |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions