[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210721202127.2129660-13-paulmck@kernel.org>
Date: Wed, 21 Jul 2021 13:21:21 -0700
From: "Paul E. McKenney" <paulmck@...nel.org>
To: rcu@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, kernel-team@...com, mingo@...nel.org,
jiangshanlai@...il.com, akpm@...ux-foundation.org,
mathieu.desnoyers@...icios.com, josh@...htriplett.org,
tglx@...utronix.de, peterz@...radead.org, rostedt@...dmis.org,
dhowells@...hat.com, edumazet@...gle.com, fweisbec@...il.com,
oleg@...hat.com, joel@...lfernandes.org,
Zhen Lei <thunder.leizhen@...wei.com>,
"Paul E . McKenney" <paulmck@...nel.org>
Subject: [PATCH rcu 13/18] rcu: Remove trailing spaces and tabs
From: Zhen Lei <thunder.leizhen@...wei.com>
Run the following command to find and remove the trailing spaces and tabs:
find kernel/rcu/ -type f | xargs sed -r -i 's/[ \t]+$//'
Signed-off-by: Zhen Lei <thunder.leizhen@...wei.com>
Signed-off-by: Paul E. McKenney <paulmck@...nel.org>
---
kernel/rcu/tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index e472c78036011..37bc3a702b6ea 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -259,7 +259,7 @@ static noinstr unsigned long rcu_dynticks_inc(int incby)
{
struct rcu_data *rdp = this_cpu_ptr(&rcu_data);
int seq;
-
+
seq = READ_ONCE(rdp->dynticks) + incby;
smp_store_release(&rdp->dynticks, seq);
smp_mb(); // Fundamental RCU ordering guarantee.
--
2.31.1.189.g2e36527f23
Powered by blists - more mailing lists