* [PATCH] mm: fix typo in the comment of mod_zone_state()
@ 2026-02-19 23:44 Miquel Sabaté Solà
2026-02-20 0:37 ` SeongJae Park
2026-03-06 11:47 ` Lorenzo Stoakes (Oracle)
0 siblings, 2 replies; 3+ messages in thread
From: Miquel Sabaté Solà @ 2026-02-19 23:44 UTC (permalink / raw)
To: akpm
Cc: david, lorenzo.stoakes, Liam.Howlett, vbabka, rppt, surenb,
mhocko, linux-mm, linux-kernel, Miquel Sabaté Solà
Use the proper function name, followed by parenthesis as usual.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
---
mm/vmstat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/vmstat.c b/mm/vmstat.c
index 65de88cdf40e..f69225122768 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.
--
2.53.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mm: fix typo in the comment of mod_zone_state()
2026-02-19 23:44 [PATCH] mm: fix typo in the comment of mod_zone_state() Miquel Sabaté Solà
@ 2026-02-20 0:37 ` SeongJae Park
2026-03-06 11:47 ` Lorenzo Stoakes (Oracle)
1 sibling, 0 replies; 3+ messages in thread
From: SeongJae Park @ 2026-02-20 0:37 UTC (permalink / raw)
To: Miquel Sabaté Solà
Cc: SeongJae Park, akpm, david, lorenzo.stoakes, Liam.Howlett,
vbabka, rppt, surenb, mhocko, linux-mm, linux-kernel
On Fri, 20 Feb 2026 00:44:07 +0100 Miquel Sabaté Solà <mssola@mssola.com> wrote:
> Use the proper function name, followed by parenthesis as usual.
I'm not sure if it is really a typo, or was speaking about the general
this_cpu_cmpxchg() variants. Either way, the change makes sense to me, though.
>
> Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Acked-by: SeongJae Park <sj@kernel.org>
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mm: fix typo in the comment of mod_zone_state()
2026-02-19 23:44 [PATCH] mm: fix typo in the comment of mod_zone_state() Miquel Sabaté Solà
2026-02-20 0:37 ` SeongJae Park
@ 2026-03-06 11:47 ` Lorenzo Stoakes (Oracle)
1 sibling, 0 replies; 3+ messages in thread
From: Lorenzo Stoakes (Oracle) @ 2026-03-06 11:47 UTC (permalink / raw)
To: Miquel Sabaté Solà
Cc: akpm, david, lorenzo.stoakes, Liam.Howlett, vbabka, rppt, surenb,
mhocko, linux-mm, linux-kernel
On Fri, Feb 20, 2026 at 12:44:07AM +0100, Miquel Sabaté Solà wrote:
> Use the proper function name, followed by parenthesis as usual.
>
> Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
LGTM, so:
Reviewed-by: Lorenzo Stoakes (Oracle) <ljs@kernel.org>
> ---
> mm/vmstat.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/vmstat.c b/mm/vmstat.c
> index 65de88cdf40e..f69225122768 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.
> --
> 2.53.0
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-06 11:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-19 23:44 [PATCH] mm: fix typo in the comment of mod_zone_state() Miquel Sabaté Solà
2026-02-20 0:37 ` SeongJae Park
2026-03-06 11:47 ` Lorenzo Stoakes (Oracle)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox