Re: [PATCH 2/2] mm: remove unused totalram_pages_inc() and totalram_pages_dec()

From: Lorenzo Stoakes (ARM)

Date: Tue Sep 01 2026 - 10:45:04 EST


On Tue, Sep 01, 2026 at 10:29:38AM -0400, Tal Zussman wrote:
> On 9/1/26 5:06 PM, Lorenzo Stoakes (ARM) wrote:
> > I also see totalram_pages_inc() in tools/include/linux/mm.h - could you remove
> > it too to keep things consistent? Thanks!
> >
>
> Yes, will do. For some reason I was under the impression that tools headers
> are generally synced separately as needed, but that's clearly not the case...
> Maybe I was thinking of the tools uapi headers.

Well they usually are, or should be (kinda) sometimes. But since this is being
removed it's a good point at which to sync at least this known-no-longer-needed
bit :)

--
Cheers, Lorenzo