[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210916121048.36623-3-frederic@kernel.org>
Date: Thu, 16 Sep 2021 14:10:46 +0200
From: Frederic Weisbecker <frederic@...nel.org>
To: "Paul E . McKenney" <paulmck@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Frederic Weisbecker <frederic@...nel.org>, rcu@...r.kernel.org,
urezki@...il.com, boqun.feng@...il.com,
Neeraj Upadhyay <neeraju@...eaurora.org>,
joel@...lfernandes.org
Subject: [PATCH 2/4] rcu: Remove useless WRITE_ONCE() on rcu_data.exp_deferred_qs
This variable is never written nor read remotely. Remove this confusion.
Signed-off-by: Frederic Weisbecker <frederic@...nel.org>
---
kernel/rcu/tree_exp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/rcu/tree_exp.h b/kernel/rcu/tree_exp.h
index f3947c49eee7..4266610b4587 100644
--- a/kernel/rcu/tree_exp.h
+++ b/kernel/rcu/tree_exp.h
@@ -255,7 +255,7 @@ static void rcu_report_exp_cpu_mult(struct rcu_node *rnp,
*/
static void rcu_report_exp_rdp(struct rcu_data *rdp)
{
- WRITE_ONCE(rdp->exp_deferred_qs, false);
+ rdp->exp_deferred_qs = false;
rcu_report_exp_cpu_mult(rdp->mynode, rdp->grpmask, true);
}
--
2.25.1
Powered by blists - more mailing lists