In some cases host asks us to overballoon and this triggers OOM killer which
eventually kills everyone. The easiest way to get into such situation is to
avoid onlining memory-hotplugged blocks. Address the issue twice:
- Report offline pages as used to the host so it won't ask us to overballoon;
- Avoid ballooning below the 'floor'.

Vitaly Kuznetsov (2):
  Drivers: hv: hv_balloon: report offline pages as being used
  Drivers: hv: hv_balloon: refuse to balloon below the floor

 drivers/hv/hv_balloon.c | 44 +++++++++++++++++++++++++++++++++++---------
 1 file changed, 35 insertions(+), 9 deletions(-)

-- 
1.9.3

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to