virtio_balloon: introduce memory allocation stall counter
authorzhenwei pi <pizhenwei@bytedance.com>
Tue, 23 Apr 2024 03:41:08 +0000 (11:41 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Sep 2024 06:51:47 +0000 (02:51 -0400)
commitc5b70a26aac39f09a23fd72f44cfbb3d4d5a14d5
tree31b02648195f6998b0f3f71f492a9897f540c246
parent6cf1c97dad2ebc4de03105cc444b3dfaa83f3dc2
virtio_balloon: introduce memory allocation stall counter

Memory allocation stall counter represents the performance/latency of
memory allocation, expose this counter to the host side by virtio
balloon device via out-of-bound way.

Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Message-Id: <20240423034109.1552866-4-pizhenwei@bytedance.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_balloon.c
include/uapi/linux/virtio_balloon.h