Re: [PATCH] mm: page_alloc: Remove redundant READ_ONCE

From: Vishal Moola (Oracle)
Date: Wed Apr 02 2025 - 15:02:03 EST


On Wed, Apr 02, 2025 at 03:41:16AM -0400, Songtang Liu wrote:
> In the current code, batch is a local variable, and it cannot be
> concurrently modified. It's unnecessary to use READ_ONCE here,
> so remove it.
>
> Fixes: 51a755c56dc0 ("mm: tune PCP high automatically")
> Signed-off-by: Songtang Liu <liusongtang@xxxxxxxxxxxxx>

Reviewed-by: Vishal Moola (Oracle) <vishal.moola@xxxxxxxxx>