Re: [PATCH] mm: memcontrol: drop unused cpu argument from flush_nmi_stats

Muchun Song <[email protected]>
Newsgroups org.kernel.vger.cgroups,org.kernel.vger.linux-kernel,org.kvack.linux-mm
Message-ID <[email protected]>

> On Jul 13, 2026, at 17:00, Guopeng Zhang <[email protected]> wrote:
> 
> From: Guopeng Zhang <[email protected]>
> 
> 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 <[email protected]>

Reviewed-by: Muchun Song <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.