summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-02-20 00:44:07 +0100
committerAndrew Morton <akpm@linux-foundation.org>2026-04-05 13:52:58 -0700
commite623b4ebee9d3a4b1e408b2c3e60cfc99b4e61ea (patch)
tree569d518d90254754b5f1ef597e64cc55cb91d1d4
parente4f4fc7aa8b720d934a0bfcea7f8aae4271d308f (diff)
downloadlinux-e623b4ebee9d3a4b1e408b2c3e60cfc99b4e61ea.tar.gz
linux-e623b4ebee9d3a4b1e408b2c3e60cfc99b4e61ea.zip
mm: fix typo in the comment of mod_zone_state()
Use the proper function name, followed by parenthesis as usual. Link: https://lkml.kernel.org/r/20260219234407.3261196-1-mssola@mssola.com Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com> Acked-by: SeongJae Park <sj@kernel.org> Reviewed-by: Lorenzo Stoakes (Oracle) <ljs@kernel.org> Cc: David Hildenbrand <david@kernel.org> Cc: Liam Howlett <liam.howlett@oracle.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Mike Rapoport <rppt@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--mm/vmstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c
index 44bbb7752f11..667474773dbc 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -547,7 +547,7 @@ EXPORT_SYMBOL(__dec_node_page_state);
#ifdef CONFIG_HAVE_CMPXCHG_LOCAL
/*
* If we have cmpxchg_local support then we do not need to incur the overhead
- * that comes with local_irq_save/restore if we use this_cpu_cmpxchg.
+ * that comes with local_irq_save/restore if we use this_cpu_try_cmpxchg().
*
* mod_state() modifies the zone counter state through atomic per cpu
* operations.