Re: [PATCH v3 2/7] mm: allow shared folios to be promoted to a fast tier

From: Gregory Price

Date: Thu Sep 24 2026 - 11:42:58 EST


On Thu, Sep 24, 2026 at 05:32:22PM +0200, David Hildenbrand (Arm) wrote:
> On 9/24/26 16:07, Gregory Price wrote:
> > On Thu, Sep 24, 2026 at 01:59:15PM +0200, David Hildenbrand (Arm) wrote:
> >> I wonder if a better name would just make the comment above (about memory
> >> tiering) implicit and make more sense of the sysctl_numa_balancing_mode &
> >> NUMA_BALANCING_MEMORY_TIERING) check.
> >>
> >> folio_promotable()
> >>
> >> folio_is_promotable()
> >>
> >> folio_numa_promotable()
> >>
> >> etc.
> >>
> >> because that seems to be what we really test with both things combined.
> >>
> >
> > maybe: folio_numab_promotable() ?
>
> Works for me if "numab" means numa balancing :)
>

Sounds good, i'll let this rest for a bit before spinning a v4. I think
the rest is pretty solid, but there's one other sashiko thing i need to
think about whether it's real or not.

~Gregory