[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aOaT34_LGs65VYMG@gourry-fedora-PF4VCD3F>
Date: Wed, 8 Oct 2025 12:39:59 -0400
From: Gregory Price <gourry@...rry.net>
To: Frank van der Linden <fvdl@...gle.com>
Cc: Michal Hocko <mhocko@...e.com>, David Hildenbrand <david@...hat.com>,
linux-mm@...ck.org, corbet@....net, muchun.song@...ux.dev,
osalvador@...e.de, akpm@...ux-foundation.org, hannes@...xchg.org,
laoar.shao@...il.com, brauner@...nel.org, mclapinski@...gle.com,
joel.granados@...nel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, Mel Gorman <mgorman@...e.de>,
Alexandru Moise <00moses.alexander00@...il.com>,
Mike Kravetz <mike.kravetz@...cle.com>,
David Rientjes <rientjes@...gle.com>
Subject: Re: [PATCH] Revert "mm, hugetlb: remove hugepages_treat_as_movable
sysctl"
On Wed, Oct 08, 2025 at 09:08:01AM -0700, Frank van der Linden wrote:
> On Wed, Oct 8, 2025 at 7:59 AM Michal Hocko <mhocko@...e.com> wrote:
> >
> > Maybe what we really want is to have a configurable zone rather than a
> > very specific consumer of it instead. What do I mean by that? We clearly
> > have physically (DMA, DMA32) and usability (NORMAL, MOVABLE) constrained
> > zones. So rather than having a MOVABLE zone we can have a single zone
> > $FOO_NAME zone with configurable attributes - like allocation
> > constrains (kernel, user, movable, etc).
...
>
> I agree that having mutiple zone properties is probably the way to go.
>
This I imagine would need to be a build-time configuration, as you'd run
into issues flipping these bits if the memory is already in use.
This of course begs the question - if one configurable zone, why not N
configuable zones?
~Gregory
Powered by blists - more mailing lists