Re: [PATCH v3] mm: count zeromap read and set for swapout and swapin

From: Andrew Morton
Date: Wed Nov 06 2024 - 15:42:39 EST


On Thu, 7 Nov 2024 09:01:14 +1300 Barry Song <21cnbao@xxxxxxxxx> wrote:

> Oops, it seems that it depends on Kanchana's 'mm: change count_objcg_event() to
> count_objcg_events() for batch event updates,' which also isn't present in 6.12.
>
> Otherwise, it won't build, as reported here:
> https://lore.kernel.org/linux-mm/CAGsJ_4whD31+Lk0m2uq-o=ygvkRsw1uXcPeqxBONV-RUXkeEzg@xxxxxxxxxxxxxx/

argh.

> Hi Andrew,
> What’s the best approach here? Should we include Kanchana's patch that extends
> the nr argument for count_objcg_events() in 6.12-rc as well?

Let's do the right thing here. I'll drop this patch from mm-hotfixes.
Please send a v4 against Linus mainline fairly soon then I'll redo
Kanchana's series around that.