]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_balloon: export hugetlb page allocation counts
authorJonathan Helman <jonathan.helman@oracle.com>
Mon, 19 Mar 2018 22:14:14 +0000 (15:14 -0700)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Apr 2018 18:23:55 +0000 (21:23 +0300)
commit3123f65d0e91ab95b46704daa93a4aed98fd661a
treefd2830b8ed3334508e088771b9745f6be259e7cf
parent765244c636c95a0ac82206d3b4f7dde3471b36a5
virtio_balloon: export hugetlb page allocation counts

Export the number of successful and failed hugetlb page
allocations via the virtio balloon driver. These 2 counts
come directly from the vm_events HTLB_BUDDY_PGALLOC and
HTLB_BUDDY_PGALLOC_FAIL.

Signed-off-by: Jonathan Helman <jonathan.helman@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
drivers/virtio/virtio_balloon.c
include/uapi/linux/virtio_balloon.h