virtio_balloon: export hugetlb page allocation counts
authorJonathan Helman <[email protected]>
Mon, 19 Mar 2018 22:14:14 +0000 (15:14 -0700)
committerMichael S. Tsirkin <[email protected]>
Tue, 10 Apr 2018 18:23:55 +0000 (21:23 +0300)
commit6c64fe7f2adcee21d7c4247f1ec021fd18428fc4
treefd2830b8ed3334508e088771b9745f6be259e7cf
parentdc32bb678e103afbcfa4d814489af0566307f528
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 <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Jason Wang <[email protected]>
drivers/virtio/virtio_balloon.c
include/uapi/linux/virtio_balloon.h