public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Drivers: hv: hv_balloon: avoid OOM killer on the ballooning path
@ 2015-02-19 16:27 Vitaly Kuznetsov
  2015-02-19 16:27 ` [PATCH 1/2] Drivers: hv: hv_balloon: report offline pages as being used Vitaly Kuznetsov
  2015-02-19 16:27 ` [PATCH 2/2] Drivers: hv: hv_balloon: refuse to balloon below the floor Vitaly Kuznetsov
  0 siblings, 2 replies; 6+ messages in thread
From: Vitaly Kuznetsov @ 2015-02-19 16:27 UTC (permalink / raw)
  To: K. Y. Srinivasan, devel; +Cc: Haiyang Zhang, linux-kernel, Dexuan Cui

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-02-25 22:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19 16:27 [PATCH 0/2] Drivers: hv: hv_balloon: avoid OOM killer on the ballooning path Vitaly Kuznetsov
2015-02-19 16:27 ` [PATCH 1/2] Drivers: hv: hv_balloon: report offline pages as being used Vitaly Kuznetsov
2015-02-25 14:32   ` KY Srinivasan
2015-02-25 16:55     ` Vitaly Kuznetsov
2015-02-25 22:29       ` KY Srinivasan
2015-02-19 16:27 ` [PATCH 2/2] Drivers: hv: hv_balloon: refuse to balloon below the floor Vitaly Kuznetsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox