diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2015-02-28 22:38:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-02 06:31:47 +0300 |
commit | 549fd280b145e2154db5a7d06981d041f8bbf597 (patch) | |
tree | 1330694a9d1dd509e7ded7e94bcaa848388f8d39 /fs/debugfs | |
parent | b05d8d9ef5ef21d1b18440430f950304836e1aaa (diff) | |
download | linux-549fd280b145e2154db5a7d06981d041f8bbf597.tar.xz |
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 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions