diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-12 03:58:27 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-12 03:58:27 +0200 |
commit | e241e3f2bf975788a1b70dff2eb5180ca395b28e (patch) | |
tree | a3a297bc547ada3d3bdb973d58abb391866ecc96 /include/uapi | |
parent | Merge tag 'iommu-updates-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
parent | virtio_balloon: export hugetlb page allocation counts (diff) | |
download | linux-e241e3f2bf975788a1b70dff2eb5180ca395b28e.tar.xz linux-e241e3f2bf975788a1b70dff2eb5180ca395b28e.zip |
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull virtio update from Michael Tsirkin:
"This adds reporting hugepage stats to virtio-balloon"
* tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
virtio_balloon: export hugetlb page allocation counts
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/virtio_balloon.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/virtio_balloon.h b/include/uapi/linux/virtio_balloon.h index 4e8b8304b793..40297a3181ed 100644 --- a/include/uapi/linux/virtio_balloon.h +++ b/include/uapi/linux/virtio_balloon.h @@ -53,7 +53,9 @@ struct virtio_balloon_config { #define VIRTIO_BALLOON_S_MEMTOT 5 /* Total amount of memory */ #define VIRTIO_BALLOON_S_AVAIL 6 /* Available memory as in /proc */ #define VIRTIO_BALLOON_S_CACHES 7 /* Disk caches */ -#define VIRTIO_BALLOON_S_NR 8 +#define VIRTIO_BALLOON_S_HTLB_PGALLOC 8 /* Hugetlb page allocations */ +#define VIRTIO_BALLOON_S_HTLB_PGFAIL 9 /* Hugetlb page allocation failures */ +#define VIRTIO_BALLOON_S_NR 10 /* * Memory statistics structure. |