mbox series

[0/2] hv_balloon: hide ballooned out memory in stats

Message ID 20201202161245.2406143-1-vkuznets@redhat.com (mailing list archive)
Headers show
Series hv_balloon: hide ballooned out memory in stats | expand

Message

Vitaly Kuznetsov Dec. 2, 2020, 4:12 p.m. UTC
It was noticed that 'free' information on a Hyper-V guest reports ballooned
out memory in 'total' and this contradicts what other ballooning drivers 
(e.g. virtio-balloon/virtio-mem/xen balloon) do.

Vitaly Kuznetsov (2):
  hv_balloon: simplify math in alloc_balloon_pages()
  hv_balloon: do adjust_managed_page_count() when
    ballooning/un-ballooning

 drivers/hv/hv_balloon.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Wei Liu Dec. 9, 2020, 1:17 p.m. UTC | #1
On Wed, Dec 02, 2020 at 05:12:43PM +0100, Vitaly Kuznetsov wrote:
> It was noticed that 'free' information on a Hyper-V guest reports ballooned
> out memory in 'total' and this contradicts what other ballooning drivers 
> (e.g. virtio-balloon/virtio-mem/xen balloon) do.
> 
> Vitaly Kuznetsov (2):
>   hv_balloon: simplify math in alloc_balloon_pages()
>   hv_balloon: do adjust_managed_page_count() when
>     ballooning/un-ballooning

LGTM.

I will wait for a few more days before applying this series to
hyperv-next.

Wei.
Wei Liu Dec. 13, 2020, 3:07 p.m. UTC | #2
On Wed, Dec 09, 2020 at 01:17:18PM +0000, Wei Liu wrote:
> On Wed, Dec 02, 2020 at 05:12:43PM +0100, Vitaly Kuznetsov wrote:
> > It was noticed that 'free' information on a Hyper-V guest reports ballooned
> > out memory in 'total' and this contradicts what other ballooning drivers 
> > (e.g. virtio-balloon/virtio-mem/xen balloon) do.
> > 
> > Vitaly Kuznetsov (2):
> >   hv_balloon: simplify math in alloc_balloon_pages()
> >   hv_balloon: do adjust_managed_page_count() when
> >     ballooning/un-ballooning
> 
> LGTM.
> 
> I will wait for a few more days before applying this series to
> hyperv-next.

Applied to hyperv-next.

Wei.