diff options
author | Igor Redko <redkoi@virtuozzo.com> | 2016-03-18 00:19:08 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-18 01:09:34 +0300 |
commit | 5057dcd0f1aaad57e07e728ba20a99e205c6b9de (patch) | |
tree | 2c8a3d6fc364777226e03a664e2b824ad8f5dfe1 /arch/sparc/mm/hugetlbpage.c | |
parent | d02bd27bd33dd7e8d22594cd568b81be0cb584cd (diff) | |
download | linux-5057dcd0f1aaad57e07e728ba20a99e205c6b9de.tar.xz |
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 'arch/sparc/mm/hugetlbpage.c')
0 files changed, 0 insertions, 0 deletions