[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210609192722.GK4397@paulmck-ThinkPad-P17-Gen-1>
Date: Wed, 9 Jun 2021 12:27:22 -0700
From: "Paul E. McKenney" <paulmck@...nel.org>
To: Zhen Lei <thunder.leizhen@...wei.com>
Cc: Josh Triplett <josh@...htriplett.org>,
Steven Rostedt <rostedt@...dmis.org>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Lai Jiangshan <jiangshanlai@...il.com>,
Joel Fernandes <joel@...lfernandes.org>,
rcu <rcu@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/1] rcu: remove trailing spaces and tabs
On Tue, Jun 08, 2021 at 03:49:48PM +0800, Zhen Lei wrote:
> 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>
Queued for v5.15, thank you!
Thanx, Paul
> ---
> 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 6140709f7249..3f38d5ac5bb0 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.25.1
>
>
Powered by blists - more mailing lists