Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1335575
| From | "Denis V. Lunev" <den@openvz.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2] export 'available' memory to virtio balloon statistics |
| Date | 2016-02-16 17:00 +0100 |
| Message-ID | <r2QcF-1mI-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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 <redkoi@virtuozzo.com> Reviewed-by: Roman Kagan <rkagan@virtuozzo.com> Signed-off-by: Denis V. Lunev <den@openvz.org> CC: Michael S. Tsirkin <mst@redhat.com> CC: Andrew Morton <akpm@linux-foundation.org> 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(-) -- 2.5.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/2] export 'available' memory to virtio balloon statistics "Denis V. Lunev" <den@openvz.org> - 2016-02-16 17:00 +0100 [PATCH 1/2] calculate 'available' memory in the separate function "Denis V. Lunev" <den@openvz.org> - 2016-02-16 17:00 +0100
csiph-web