[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250911181805.zowj27hon5nazhyp@offworld>
Date: Thu, 11 Sep 2025 11:18:05 -0700
From: Davidlohr Bueso <dave@...olabs.net>
To: Kaushlendra Kumar <kaushlendra.kumar@...el.com>
Cc: paulmck@...nel.org, josh@...htriplett.org, frederic@...nel.org,
neeraj.upadhyay@...nel.org, rostedt@...dmis.org,
linux-kernel@...r.kernel.org, rcu@...r.kernel.org
Subject: Re: [PATCH v2] rcu/segcblist: Use WRITE_ONCE() for rclp->len
decrement
On Thu, 11 Sep 2025, Kaushlendra Kumar wrote:
>Use WRITE_ONCE() for rclp->len decrement in rcu_cblist_dequeue() to
>maintain consistency with rcu_cblist_enqueue(), which already uses
>WRITE_ONCE() for rclp->len increment. It maintains consistent access
>patterns to the rclp->len field across both enqueue and dequeue operations.
>
>Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@...el.com>
Reviewed-by: Davidlohr Bueso <dave@...olabs.net>
Powered by blists - more mailing lists