From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?VG9tw6HFoSBHb2xlbWJpb3Zza8O9?= Subject: Re: [PATCH v3] virtio_balloon: include disk/file caches memory statistics Date: Mon, 20 Nov 2017 15:06:19 +0100 Message-ID: <20171120150619.456c56f0@fiorina> References: <2e8c12f5242bcf755a33ee3a0e9ef94339d1808c.1510487579.git.tgolembi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Huang Ying , Gal Hammer , "Michael S. Tsirkin" , Jason Wang , Amnon Ilan , Wei Wang , Shaohua Li , Rik van Riel To: linux-mm@kvack.org, virtio-dev@lists.oasis-open.org, qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org Return-path: Sender: List-Post: List-Help: List-Unsubscribe: List-Subscribe: In-Reply-To: <2e8c12f5242bcf755a33ee3a0e9ef94339d1808c.1510487579.git.tgolembi@redhat.com> List-Id: kvm.vger.kernel.org On Sun, 12 Nov 2017 13:05:38 +0100 Tom=C3=A1=C5=A1 Golembiovsk=C3=BD wrote: > Add a new field VIRTIO_BALLOON_S_CACHES to virtio_balloon memory > statistics protocol. The value represents all disk/file caches. >=20 > In this case it corresponds to the sum of values > Buffers+Cached+SwapCached from /proc/meminfo. >=20 > Signed-off-by: Tom=C3=A1=C5=A1 Golembiovsk=C3=BD > --- > drivers/virtio/virtio_balloon.c | 4 ++++ > include/uapi/linux/virtio_balloon.h | 3 ++- > 2 files changed, 6 insertions(+), 1 deletion(-) >=20 =20 ping --=20 Tom=C3=A1=C5=A1 Golembiovsk=C3=BD