[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvz-devel
Subject:    [Devel] [PATCH vz7 v2 0/4] Make balloon drivers report and log memory stats
From:       Alexander Atanasov <alexander.atanasov () virtuozzo ! com>
Date:       2022-10-17 11:57:07
Message-ID: 20221017115711.3618426-1-alexander.atanasov () virtuozzo ! com
[Download RAW message or body]

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(-)

v1->v2: fixed warning in vmware driver

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

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic