Skip to content

Drivers: hv: hv_balloon: avoid OOM killer on the ballooning path

Vitaly Kuznetsov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Drivers: hv: hv_balloon: report offline pages as being useddrivers/hv/hv_balloon.c+24 -93 replies
2/2Drivers: hv: hv_balloon: refuse to balloon below the floordrivers/hv/hv_balloon.c+11 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Drivers: hv: hv_balloon: avoid OOM killer on the ballooning path

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(-)
Signature · 1 line
1.9.3