All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Muchun Song <muchun.song@linux.dev>
Cc: Huaisheng Ye <yehuaisheng@open-hieco.net>,
	osalvador@suse.de, linux-mm@kvack.org, david@kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm/hugetlb: account for allowed nodes when gathering surplus pages
Date: Thu, 10 Sep 2026 15:20:26 -0700	[thread overview]
Message-ID: <20260910152026.5bcf5c5d7f1ecdcb0147ceaf@linux-foundation.org> (raw)
In-Reply-To: <8A0F6014-4E2C-4F07-9732-2DF32418B986@linux.dev>

On Thu, 10 Sep 2026 16:48:56 +0800 Muchun Song <muchun.song@linux.dev> wrote:

> > This fixes hugetlb mappings when, for example, a task runs with
> > MPOL_BIND on Node 1 while the existing free huge pages are on Node 0.
> > 
> > Similar issue also could be found in ltp if the free pages of global pool
> > reside outside the nodes allowed by the application.
> >  # cd ltp/testcases/kernel/mem/hugetlb/hugemmap/
> >  # numactl --cpunodebind=0 --membind=1 ./hugemmap10
> > 
> > Signed-off-by: Huaisheng Ye <yehuaisheng@open-hieco.net>
> 
> Acked-by: Muchun Song <muchun.song@linux.dev>

Should we backport this?

If so, a Fixes: target would be helpful.


  reply	other threads:[~2026-09-10 22:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-09  7:46 [PATCH] mm/hugetlb: account for allowed nodes when gathering surplus pages Huaisheng Ye
2026-09-10  8:48 ` Muchun Song
2026-09-10 22:20   ` Andrew Morton [this message]
2026-09-11  2:41     ` Muchun Song
2026-09-11  8:19       ` Huaisheng Ye

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=20260910152026.5bcf5c5d7f1ecdcb0147ceaf@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=david@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=muchun.song@linux.dev \
    --cc=osalvador@suse.de \
    --cc=yehuaisheng@open-hieco.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.