Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1340779

Re: [PATCH 2/2] virtio_balloon: export 'available' memory to balloon statistics

From "Denis V. Lunev" <den@openvz.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] virtio_balloon: export 'available' memory to balloon statistics
Date 2016-02-23 16:30 +0100
Message-ID <r5n4u-7ic-5@gated-at.bofh.it> (permalink)
References <r2QcF-1mI-3@gated-at.bofh.it> <r2QcF-1mI-1@gated-at.bofh.it> <r5mUO-7eb-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 02/23/2016 06:10 PM, Michael S. Tsirkin wrote:
> On Tue, Feb 16, 2016 at 06:50:52PM +0300, Denis V. Lunev wrote:
>> From: Igor Redko <redkoi@virtuozzo.com>
>>
>> Add a new field, VIRTIO_BALLOON_S_AVAIL, to virtio_balloon memory
>> statistics protocol, corresponding to 'Available' in /proc/meminfo.
>>
>> It indicates to the hypervisor how big the balloon can be inflated
>> without pushing the guest system to swap.
>>
>> Signed-off-by: Igor Redko <redkoi@virtuozzo.com>
>> Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
>> Signed-off-by: Denis V. Lunev <den@openvz.org>
>> CC: Michael S. Tsirkin <mst@redhat.com>
>> CC: Andrew Morton <akpm@linux-foundation.org>
> Oops - I missed the fact that this affects host/guest ABI.
>
> Can you please submit ABI update proposal to virtio tc?
> Spec patch would be even better.
>
> This is important to ensure there are no conflicts
> with other features being developed in parallel.

hmmm

 From my point of view ABI remains untouched.
The guest can send any amount of <tag>;<value>
pairs and unknown tags are properly ignored
by the host.

That is why I think that this change is safe.

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 2/2] virtio_balloon: export 'available' memory to balloon  statistics "Michael S. Tsirkin" <mst@redhat.com> - 2016-02-23 16:20 +0100
  Re: [PATCH 2/2] virtio_balloon: export 'available' memory to balloon  statistics "Denis V. Lunev" <den@openvz.org> - 2016-02-23 16:30 +0100
    Re: [PATCH 2/2] virtio_balloon: export 'available' memory to balloon  statistics "Michael S. Tsirkin" <mst@redhat.com> - 2016-02-23 17:00 +0100
      Re: [PATCH 2/2] virtio_balloon: export 'available' memory to balloon  statistics "Denis V. Lunev" <den@openvz.org> - 2016-02-23 17:20 +0100

csiph-web