[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aQzHibKYKy0SQU1z@gourry-fedora-PF4VCD3F>
Date: Thu, 6 Nov 2025 11:06:33 -0500
From: Gregory Price <gourry@...rry.net>
To: David Hildenbrand <david@...hat.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org, kernel-team@...a.com,
akpm@...ux-foundation.org, vbabka@...e.cz, surenb@...gle.com,
mhocko@...e.com, jackmanb@...gle.com, hannes@...xchg.org,
ziy@...dia.com, Wei Yang <richard.weiyang@...il.com>
Subject: Re: [PATCH v3] page_alloc: allow migration of smaller hugepages
during contig_alloc.
On Mon, Oct 27, 2025 at 04:43:25PM +0100, David Hildenbrand wrote:
> On 24.10.25 21:28, Gregory Price wrote:
> > We presently skip regions with hugepages entirely when trying to do
> > contiguous page allocation. Instead, if hugepage migration is enabled,
> > consider regions with hugepages smaller than the target contiguous
> > allocation request as valid targets for allocation.
> >
> > isolate_migrate_pages_block() already expects requests with hugepages
> > to originate from alloc_contig, and hugetlb code also does a migratable
> > check when isolating in folio_isolate_hugetlb().
> >
> > Suggested-by: David Hildenbrand <david@...hat.com>
> > Signed-off-by: Gregory Price <gourry@...rry.net>
> > Reviewed-by: Zi Yan <ziy@...dia.com>
> > Reviewed-by: Wei Yang <richard.weiyang@...il.com>
> > ---
>
> Nit: trailing "." in subject
>
> Acked-by: David Hildenbrand <david@...hat.com>
>
Hi David,
Do you think i should just staple these commits together at this point?
https://lore.kernel.org/linux-mm/20251009161515.422292-1-gourry@gourry.net/
If not i'll drop the '.' and just resubmit this with tags and just
update the commit message on movable_gigantic_pages to reference this
commit and your notes from there.
~Gregory
Powered by blists - more mailing lists