diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2015-02-28 11:38:59 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-01 19:31:47 -0800 |
commit | 549fd280b145e2154db5a7d06981d041f8bbf597 (patch) | |
tree | 1330694a9d1dd509e7ded7e94bcaa848388f8d39 /drivers/oprofile | |
parent | b05d8d9ef5ef21d1b18440430f950304836e1aaa (diff) |
Drivers: hv: hv_balloon: report offline pages as being used
When hot-added memory pages are not brought online or when some memory blocks
are sent offline the subsequent ballooning process kills the guest with OOM
killer. This happens as we don't report these pages as neither used nor free
and apparently host algorithm considers them as being unused. Keep track of
all online/offline operations and report all currently offline pages as being
used so host won't try to balloon them out.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/oprofile')
0 files changed, 0 insertions, 0 deletions