From 549fd280b145e2154db5a7d06981d041f8bbf597 Mon Sep 17 00:00:00 2001 From: Vitaly Kuznetsov Date: Sat, 28 Feb 2015 11:38:59 -0800 Subject: [PATCH] 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 Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed