Re: [Qemu-devel] [PATCH v3] virtio_balloon: include disk/file caches memory statistics

2017-11-28 Thread Michael S. Tsirkin
On Sun, Nov 12, 2017 at 01:05:38PM +0100, Tomáš Golembiovský 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/memin

Re: [Qemu-devel] [PATCH v3] virtio_balloon: include disk/file caches memory statistics

2017-11-20 Thread Tomáš Golembiovský
On Sun, 12 Nov 2017 13:05:38 +0100 Tomáš Golembiovský 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. >

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

2017-11-12 Thread Tomáš Golembiovský
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ý --- drivers/virtio/virtio_balloon.c