From: Davidlohr Bueso <dave@stgolabs.net>
To: Kaushlendra Kumar <kaushlendra.kumar@intel.com>
Cc: paulmck@kernel.org, josh@joshtriplett.org, frederic@kernel.org,
neeraj.upadhyay@kernel.org, rostedt@goodmis.org,
linux-kernel@vger.kernel.org, rcu@vger.kernel.org
Subject: Re: [PATCH v2] rcu/segcblist: Use WRITE_ONCE() for rclp->len decrement
Date: Thu, 11 Sep 2025 11:18:05 -0700 [thread overview]
Message-ID: <20250911181805.zowj27hon5nazhyp@offworld> (raw)
In-Reply-To: <20250911162641.796716-1-kaushlendra.kumar@intel.com>
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@intel.com>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
next prev parent reply other threads:[~2025-09-11 18:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-11 16:26 Kaushlendra Kumar
2025-09-11 18:18 ` Davidlohr Bueso [this message]
2025-09-11 19:41 ` Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250911181805.zowj27hon5nazhyp@offworld \
--to=dave@stgolabs.net \
--cc=frederic@kernel.org \
--cc=josh@joshtriplett.org \
--cc=kaushlendra.kumar@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=neeraj.upadhyay@kernel.org \
--cc=paulmck@kernel.org \
--cc=rcu@vger.kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®