To print balloon stats in case of OOM and sysrq we need to have
this stats in the mm core.
1. Add stats for balloon memory in core.
2. Propagate changes from drivers.
3. Print balloon stats in show_mem which is used on OOM and sysrq.

Alexander Atanasov (4):
  Enable balloon drivers to report inflated memory
  drivers: virtio: balloon report stats to mm core
  drivers: vmware: balloon report stats to mm core
  drivers: hyperv: balloon report stats to mm core

 drivers/hv/hv_balloon.c            | 11 +++++++++++
 drivers/misc/vmw_balloon.c         |  7 ++++++-
 drivers/virtio/virtio_balloon.c    |  5 +++++
 include/linux/balloon_compaction.h |  7 +++++++
 lib/show_mem.c                     |  8 ++++++++
 mm/balloon_compaction.c            | 16 ++++++++++++++++
 6 files changed, 53 insertions(+), 1 deletion(-)


https://jira.sw.ru/browse/PSBM-142436
-- 
2.31.1

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to