Re: [PATCH] mm: vmstat: correct the comment above preempt_disable_nested()
From: Harry Yoo
Date: Mon Nov 10 2025 - 03:57:40 EST
On Mon, Nov 10, 2025 at 04:44:37PM +0800, Qi Zheng wrote:
> From: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>
>
> The comment explaining why these parts use preempt_disable_nested() is in
> __mod_zone_page_state(), not in __mod_node_page_state(), so we should see
> __mod_zone_page_state(). Just correct it.
>
> Signed-off-by: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>
> ---
Acked-by: Harry Yoo <harry.yoo@xxxxxxxxxx>
Yeah I was confused when all these comments says
"See __mod_node_page_state()" But even in the function it says
"See __mod_node_page_state()" :)
Thanks for fixing it!
--
Cheers,
Harry / Hyeonggon