diff options
author | Igor Redko <redkoi@virtuozzo.com> | 2016-03-17 22:19:08 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-17 23:09:34 +0100 |
commit | 5057dcd0f1aaad57e07e728ba20a99e205c6b9de (patch) | |
tree | 2c8a3d6fc364777226e03a664e2b824ad8f5dfe1 /virt | |
parent | mm/page_alloc.c: calculate 'available' memory in a separate function (diff) | |
download | linux-5057dcd0f1aaad57e07e728ba20a99e205c6b9de.tar.xz linux-5057dcd0f1aaad57e07e728ba20a99e205c6b9de.zip |
virtio_balloon: export 'available' memory to 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.
Signed-off-by: Igor Redko <redkoi@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions