mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Bundschuh <mkbund@amazon.com>
To: <muchun.song@linux.dev>, <akpm@linux-foundation.org>
Cc: <osalvador@suse.de>, <david@kernel.org>, <jiaqiyan@google.com>,
	<linux-mm@kvack.org>, <linux-kernel@vger.kernel.org>,
	Mark Bundschuh <mkbund@amazon.com>
Subject: Re: [PATCH v2] mm/hugetlb: add htlb_dissolve vmstat event
Date: Tue, 10 Nov 2026 22:57:34 +0000	[thread overview]
Message-ID: <20261110225734.3549172-1-mkbund@amazon.com> (raw)
In-Reply-To: <D6862DF6-34D8-44B9-8412-B241812F6754@linux.dev>

Hi Andrew and Muchun,

Thanks, fair questions. Some context: a management agent offlined memory
blocks on a host using huge pages. Each offline dissolved the free huge
pages in the block and lowered nr_hugepages, and later the workload
failed to get its pages. It took me a while to work out that the
offlines, not another process writing to nr_hugepages, were what had
shrunk the pool. The counter was meant to make that visible.

Thinking about it more, the offline itself is already visible (a
successful offline sends a uevent, and auditctl can log who started it).
So I don't think this needs a counter. Please drop it.

Thanks,
Mark

      reply	other threads:[~2026-11-10 22:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-05 19:15 Mark Bundschuh
2026-11-05 23:39 ` Andrew Morton
2026-11-06  3:50 ` Muchun Song
2026-11-10 22:57   ` Mark Bundschuh [this message]

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=20261110225734.3549172-1-mkbund@amazon.com \
    --to=mkbund@amazon.com \
    --cc=akpm@linux-foundation.org \
    --cc=david@kernel.org \
    --cc=jiaqiyan@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=muchun.song@linux.dev \
    --cc=osalvador@suse.de \
    /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

all inboxes | Powered by JetHome®