[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z-2JoJWjGuqWCsdu@fedora>
Date: Wed, 2 Apr 2025 12:01:52 -0700
From: "Vishal Moola (Oracle)" <vishal.moola@...il.com>
To: Songtang Liu <liusongtang@...edance.com>
Cc: akpm@...ux-foundation.org, ying.huang@...ux.alibaba.com,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
zhengqi.arch@...edance.com, songmuchun@...edance.com
Subject: Re: [PATCH] mm: page_alloc: Remove redundant READ_ONCE
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@...edance.com>
Reviewed-by: Vishal Moola (Oracle) <vishal.moola@...il.com>
Powered by blists - more mailing lists