summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorIgor Redko <redkoi@virtuozzo.com>2016-03-17 22:19:08 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2016-03-17 23:09:34 +0100
commit5057dcd0f1aaad57e07e728ba20a99e205c6b9de (patch)
tree2c8a3d6fc364777226e03a664e2b824ad8f5dfe1 /virt
parentmm/page_alloc.c: calculate 'available' memory in a separate function (diff)
downloadlinux-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