export 'available' memory to virtio balloon statistics
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | calculate 'available' memory in the separate functionfs/ include/ mm/ | +45 | 0 replies | |
| 1/2 | calculate 'available' memory in the separate functionfs/ include/ mm/ | +45 | 0 replies | |
| 2/2 | virtio_balloon: export 'available' memory to balloon statisticsdrivers/ include/ | +8 | 0 replies | |
| 2/2 | virtio_balloon: export 'available' memory to balloon statisticsdrivers/ include/ | +8 | 6 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Roman Kagan |
|---|---|
| Series | R-b |
| 1/2 | R-b R-b |
| 1/2 | R-b R-b |
| 2/2 | R-b R-b |
| 2/2 | R-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] export 'available' memory to virtio balloon statistics
Add a new field, VIRTIO_BALLOON_S_AVAIL, to virtio_balloon memory statistics protocol, corresponding to 'Available' in /proc/meminfo.
It indicates to the hypervisor how big the balloon can be inflated without pushing the guest system to swap. This metric would be very useful in VM orchestration software to improve memory management of different VMs under overcommit.
Signed-off-by Igor Redko <[email protected]>
Reviewed-by Roman Kagan <[email protected]>
Signed-off-by Denis V. Lunev <[email protected]>
CC Michael S. Tsirkin <[email protected]>
CC Andrew Morton <[email protected]>
Igor Redko (2):
calculate 'available' memory in the separate function
virtio_balloon: export 'available' memory to balloon statistics
drivers/virtio/virtio_balloon.c | 6 ++++++ fs/proc/meminfo.c | 31 +------------------------- include/linux/mm.h | 1 + include/uapi/linux/virtio_balloon.h | 3 ++- mm/page_alloc.c | 43 +++++++++++++++++++++++++++++++++++++ 5 files changed, 53 insertions(+), 31 deletions(-)
Signature · 1 line
2.5.0