[PATCH v3] virtio_balloon: include disk/file caches memory statistics

Tomáš Golembiovský
Mon, 20 Nov 2017 14:06:19 -0000

On Sun, 12 Nov 2017 13:05:38 +0100
Tom?? Golembiovsk? <tgolembi at redhat.com> wrote:

> Add a new field VIRTIO_BALLOON_S_CACHES to virtio_balloon memory
> statistics protocol. The value represents all disk/file caches.
>
> In this case it corresponds to the sum of values
> Buffers+Cached+SwapCached from /proc/meminfo.
>
> Signed-off-by: Tom?? Golembiovsk? <tgolembi at redhat.com>
> ---
>  drivers/virtio/virtio_balloon.c     | 4 ++++
>  include/uapi/linux/virtio_balloon.h | 3 ++-
>  2 files changed, 6 insertions(+), 1 deletion(-)
>

ping


--
Tom?? Golembiovsk? <tgolembi at redhat.com>