Re: [PATCH v3 00/11] mm: memcontrol: constify the read side of the memcg API
From: Lorenzo Stoakes (ARM)
Date: Wed Sep 16 2026 - 13:35:53 EST
On Tue, Sep 15, 2026 at 08:53:10PM -0700, Shakeel Butt wrote:
> On Tue, Sep 15, 2026 at 07:20:04PM -0400, Tal Zussman wrote:
> > The memcg accessors, lruvec helpers, and stat readers only read from
> > the memcg, folio, or lruvec they are given, but take non-const
> > pointers. Constify them, along with the page_counter readers and the
> > swap I/O blkg helpers along the way.
> >
> > This started as a follow-up to [1] that quickly grew in proportions :)
> >
> > [1]: https://lore.kernel.org/linux-mm/anYqSDnC2BbJXv1h@xxxxxxxxxxxxxxxxxxxx/
>
> For the whole series:
>
> Acked-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>
Oops, I replied on the v2 with the same:
https://lore.kernel.org/linux-mm/aqqaaDqTDahlZ7bR@gremlin/
but obviously, equally so for v3 :) thanks for doing this!
For whole series:
Acked-by: Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx>
--
Cheers, Lorenzo