public inbox for linux-hyperv@vger.kernel.org
 help / color / mirror / Atom feed
From: "Denis V. Lunev" <den@virtuozzo.com>
To: "Michael Kelley (LINUX)" <mikelley@microsoft.com>,
	Wei Liu <wei.liu@kernel.org>,
	Alexander Atanasov <alexander.atanasov@virtuozzo.com>
Cc: KY Srinivasan <kys@microsoft.com>,
	Haiyang Zhang <haiyangz@microsoft.com>,
	Stephen Hemminger <sthemmin@microsoft.com>,
	Dexuan Cui <decui@microsoft.com>,
	"kernel@openvz.org" <kernel@openvz.org>,
	"linux-hyperv@vger.kernel.org" <linux-hyperv@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3 1/1] Create debugfs file with hyper-v balloon usage information
Date: Mon, 5 Sep 2022 10:59:32 +0200	[thread overview]
Message-ID: <483cf471-6c12-51e0-4075-72d290055f47@virtuozzo.com> (raw)
In-Reply-To: <BYAPR21MB1688312AED65BEE290CF6C52D77D9@BYAPR21MB1688.namprd21.prod.outlook.com>

On 03.09.2022 06:37, Michael Kelley (LINUX) wrote:
> From: Wei Liu <wei.liu@kernel.org> Sent: Wednesday, July 13, 2022 8:19 AM
>> On Tue, Jul 12, 2022 at 04:24:12PM +0000, Michael Kelley (LINUX) wrote:
>>> From: Alexander Atanasov <alexander.atanasov@virtuozzo.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@virtuozzo.com>
>>>> ---
>> [...]
>>> Reviewed-by: Michael Kelley <mikelley@microsoft.com>
>> I added "Drivers: hv:" prefix to the subject line and applied it to
>> hyperv-next. Thanks.
> Alexander -- I finally caught up on the long discussion of balloon
> driver reporting that occurred over much of August.  I think your
> original plan had been for each of the balloon driver to report
> useful information in debugfs.  But as a result of the discussion,
> it looks like virtio-balloon will be putting the information in
> /proc/meminfo.  If that's the case, it seems like we should
> drop these changes to the Hyper-V balloon driver,  and have
> the Hyper-V balloon driver take the same approach as
> virtio-balloon.
>
> These Hyper-V balloon driver changes have already gone
> into 6.0-rc1.  If we're going to drop them, we should do
> the revert before 6.0 is done.
>
> Thoughts?
>
> Michael
VMware balloon still has debugfs binging. I'd better keep something outside
of meminfo as here we could keep much more useful information.

Den

  reply	other threads:[~2022-09-05  8:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-05  9:44 [PATCH v1 1/1] Create debugfs file with hyper-v balloon usage information Alexander Atanasov
2022-07-05 17:12 ` Michael Kelley (LINUX)
2022-07-05 17:31   ` Denis V. Lunev
2022-07-08 16:24   ` Alexander Atanasov
2022-07-11 18:18   ` [PATCH v3 " Alexander Atanasov
2022-07-12 16:24     ` Michael Kelley (LINUX)
2022-07-13 15:19       ` Wei Liu
2022-09-03  4:37         ` Michael Kelley (LINUX)
2022-09-05  8:59           ` Denis V. Lunev [this message]
2022-09-05 16:20           ` Wei Liu
2022-09-07  8:15           ` Alexander Atanasov
2022-07-06 18:02 ` [PATCH v1 " Wei Liu
2022-07-06 18:15   ` [PATCH v2 " Alexander Atanasov
2022-07-08 15:39     ` Michael Kelley (LINUX)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=483cf471-6c12-51e0-4075-72d290055f47@virtuozzo.com \
    --to=den@virtuozzo.com \
    --cc=alexander.atanasov@virtuozzo.com \
    --cc=decui@microsoft.com \
    --cc=haiyangz@microsoft.com \
    --cc=kernel@openvz.org \
    --cc=kys@microsoft.com \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikelley@microsoft.com \
    --cc=sthemmin@microsoft.com \
    --cc=wei.liu@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox