[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BY3PR21MB30335CDAD39F927427DEF4EAD7869@BY3PR21MB3033.namprd21.prod.outlook.com>
Date: Tue, 12 Jul 2022 16:24:12 +0000
From: "Michael Kelley (LINUX)" <mikelley@...rosoft.com>
To: Alexander Atanasov <alexander.atanasov@...tuozzo.com>,
KY Srinivasan <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
Wei Liu <wei.liu@...nel.org>, Dexuan Cui <decui@...rosoft.com>
CC: "kernel@...nvz.org" <kernel@...nvz.org>,
"linux-hyperv@...r.kernel.org" <linux-hyperv@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v3 1/1] Create debugfs file with hyper-v balloon usage
information
From: Alexander Atanasov <alexander.atanasov@...tuozzo.com> Sent: Monday, July 11, 2022 11:18 AM
>
> Allow the guest to know how much it is ballooned by the host.
> It is useful when debugging out of memory conditions.
>
> When host gets back memory from the guest it is accounted
> as used memory in the guest but the guest have no way to know
> how much it is actually ballooned.
>
> Expose current state, flags and max possible memory to the guest.
> While at it - fix a 10+ years old typo.
>
> Signed-off-by: Alexander Atanasov <alexander.atanasov@...tuozzo.com>
> ---
> drivers/hv/hv_balloon.c | 135 ++++++++++++++++++++++++++++++++++++++--
> 1 file changed, 129 insertions(+), 6 deletions(-)
>
> V1->V2:
> - Fix C&P errors
> V2->V3:
> - Move computation to a separate funcion
> - Remove ifdefs to reduce code clutter
>
> This patch addresses your suggestions. Once again, sorry i have missed
> your email reply last time.
>
Reviewed-by: Michael Kelley <mikelley@...rosoft.com>
Powered by blists - more mailing lists