From: "Huang, Ying" <ying.huang@linux.alibaba.com>
To: Gregory Price <gourry@gourry.net>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
linux-fsdevel@vger.kernel.org, kernel-team@meta.com,
willy@infradead.org, jack@suse.cz, akpm@linux-foundation.org,
david@kernel.org, ziy@nvidia.com, matthew.brost@intel.com,
joshua.hahnjy@gmail.com, rakie.kim@sk.com, byungchul@sk.com,
apopple@nvidia.com, Johannes Weiner <hannes@cmpxchg.org>
Subject: Re: [PATCH 0/2] mm: don't apply task mempolicy to unmovable kernel allocations
Date: Mon, 13 Jul 2026 19:11:02 +0800 [thread overview]
Message-ID: <874ii36t6h.fsf@DESKTOP-5N7EMDA> (raw)
In-Reply-To: <ak_bIlYWJsEWx1P1@gourry-fedora-PF4VCD3F> (Gregory Price's message of "Thu, 9 Jul 2026 13:32:18 -0400")
Gregory Price <gourry@gourry.net> writes:
> On Thu, Jul 09, 2026 at 07:09:29PM +0800, Huang, Ying wrote:
>> Gregory Price <gourry@gourry.net> writes:
>>
>> > The unmovable unaccounted kernel allocations stop following the
>> > task policy and place node-local. With no policy set, both place
>> > node-local as before.
>>
>> Personally, I think this should be the right thing to do theoretically.
>> However, you may need to find some practical issues that this resolves.
>>
>
> I don't entirely disagree, but there is at least one scenario where this
> is an obvious improvement:
>
> BIOS-configured CXL memory brought up in ZONE_NORMAL.
Per my understanding, kernel configured CXL memory can be in ZONE_NORMAL
and BIOS-configured one can be in ZONE_MOVABLE. Right?
> An task interleave policy on such a system will end up with unaccounted
> kernel allocations landing on the remote node, which is just not
> preferable at all (and uncorrectable).
Anyway, some number will be good IMHO.
> It's not a complete fix (fallbacks can still occur under pressure), but
> it's one piece of the puzzle.
>
> Forward looking: This patch makes private-node's with ZONE_NORMAL
> reliably hot-un-pluggable. But that improvement is obviously predicated
> on work that isn't upstream (yet :] ).
>
> I need to send a v2 of this with SLAB_ACCOUNT fixed up, and some numbers
> to justify dropping the pagecache fix. But I will probably sandbag this
> a bit until i finally send out v5 of private nodes.
---
Best Regards,
Huang, Ying
prev parent reply other threads:[~2026-07-13 11:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-01 22:21 [PATCH 0/2] mm: don't apply task mempolicy to unmovable kernel allocations Gregory Price
2026-07-01 22:21 ` [PATCH 1/2] mm/filemap: place page-cache folios via an explicit mempolicy Gregory Price
2026-07-01 22:21 ` [PATCH 2/2] mm/mempolicy: skip task mempolicy for unmovable unaccounted kernel allocations Gregory Price
2026-07-09 11:09 ` [PATCH 0/2] mm: don't apply task mempolicy to unmovable " Huang, Ying
2026-07-09 17:32 ` Gregory Price
2026-07-13 11:11 ` Huang, Ying [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=874ii36t6h.fsf@DESKTOP-5N7EMDA \
--to=ying.huang@linux.alibaba.com \
--cc=akpm@linux-foundation.org \
--cc=apopple@nvidia.com \
--cc=byungchul@sk.com \
--cc=david@kernel.org \
--cc=gourry@gourry.net \
--cc=hannes@cmpxchg.org \
--cc=jack@suse.cz \
--cc=joshua.hahnjy@gmail.com \
--cc=kernel-team@meta.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=matthew.brost@intel.com \
--cc=rakie.kim@sk.com \
--cc=willy@infradead.org \
--cc=ziy@nvidia.com \
/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.