Re: [PATCH] mm: memcontrol: drop unused cpu argument from flush_nmi_stats
From: Michal Hocko
Date: Mon Jul 13 2026 - 06:10:09 EST
On Mon 13-07-26 17:00:10, Guopeng Zhang wrote:
> From: Guopeng Zhang <zhangguopeng@xxxxxxxxxx>
>
> flush_nmi_stats() does not use its cpu argument. Remove it from the
> function and its !CONFIG_MEMCG_NMI_SAFETY_REQUIRES_ATOMIC stub. The
> caller still uses cpu for the subsequent per-CPU rstat flush.
>
> No functional change.
>
> Signed-off-by: Guopeng Zhang <zhangguopeng@xxxxxxxxxx>
Looks like a left over from prior versions of the patch because there
was no use in the 940b01fc8dc1a
Acked-by: Michal Hocko <mhocko@xxxxxxxx>
Thanks!
--
Michal Hocko
SUSE Labs