[PATCH v3 0/4] Improve memory statistics for virtio balloon

From: zhenwei pi
Date: Mon Apr 22 2024 - 23:41:26 EST


Hi,

v2 -> v3:
- A few coding style change in
'[PATCH v3 1/4] virtio_balloon: separate vm events into a function'

v1 -> v2:
- Add a new patch 'virtio_balloon: separate vm events into a function'
to avoid any compiler warnings(unused stack variable on
CONFIG_VM_EVENT_COUNTERS=n)
- Suggested by David, use a loop 'for (zid = 0; zid < MAX_NR_ZONES; zid++)'
to obtain all the stall events.

RFC -> v1:
- several text changes: oom-kill -> oom-kills, SCAN_ASYNC -> ASYN_SCAN.
- move vm events codes into '#ifdef CONFIG_VM_EVENT_COUNTERS'

RFC version:
Link: https://lore.kernel.org/lkml/20240415084113.1203428-1-pizhenwei@xxxxxxxxxxxxx/T/#m1898963b3c27a989b1123db475135c3ca687ca84

zhenwei pi (4):
virtio_balloon: separate vm events into a function
virtio_balloon: introduce oom-kill invocations
virtio_balloon: introduce memory allocation stall counter
virtio_balloon: introduce memory scan/reclaim info

drivers/virtio/virtio_balloon.c | 61 ++++++++++++++++++++++-------
include/uapi/linux/virtio_balloon.h | 16 +++++++-
2 files changed, 61 insertions(+), 16 deletions(-)

--
2.34.1