diff options
author | George Dunlap <george.dunlap@eu.citrix.com> | 2012-06-28 15:18:05 +0100 |
---|---|---|
committer | George Dunlap <george.dunlap@eu.citrix.com> | 2012-06-28 15:18:05 +0100 |
commit | 8f7e8f7b56f62eb7fe7d459424b9f56466faaefb (patch) | |
tree | fca100bd2d8c55b13c24ba2fc6b07b398d6c6873 /tools/libxl/libxl_create.c | |
parent | 5a6a7ae5e6d79a72dc6b0b94f39441e64f664193 (diff) | |
download | xen-8f7e8f7b56f62eb7fe7d459424b9f56466faaefb.tar.gz xen-8f7e8f7b56f62eb7fe7d459424b9f56466faaefb.tar.bz2 xen-8f7e8f7b56f62eb7fe7d459424b9f56466faaefb.zip |
xen,pod: Only sweep in an emergency, and only for 4k pages
Testing has shown that doing sweeps for superpages slows down boot
significantly, but does not result in a significantly higher number of
superpages after boot. Early sweeping for 4k pages causes superpages
to be broken up unnecessarily.
Only sweep if we're really out of memory.
v2:
- Move unrelated code-motion hunk to another patch
v3:
- Remove now-unused reclaim_super from pod struct
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
Diffstat (limited to 'tools/libxl/libxl_create.c')
0 files changed, 0 insertions, 0 deletions