Re: [PATCH] mm: memcontrol: drop unused cpu argument from flush_nmi_stats
From: Johannes Weiner
Date: Mon Jul 13 2026 - 07:44:54 EST
On Mon, Jul 13, 2026 at 05:00:10PM +0800, 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>
Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>