[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z-0ESbUhl4HvZMpI@localhost.localdomain>
Date: Wed, 2 Apr 2025 11:32:57 +0200
From: Oscar Salvador <osalvador@...e.de>
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: Oscar Salvador <osalvador@...e.de>
--
Oscar Salvador
SUSE Labs
Powered by blists - more mailing lists