[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a54094681531e526c7e055cc5f58d0f6d480c119.camel@perches.com>
Date: Tue, 23 Sep 2025 08:47:13 -0700
From: Joe Perches <joe@...ches.com>
To: "Paul E. McKenney" <paulmck@...nel.org>, rcu@...r.kernel.org, Andrew
Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, kernel-team@...a.com, rostedt@...dmis.org,
Andy Whitcroft <apw@...onical.com>, Dwaipayan Ray
<dwaipayanray1@...il.com>, Lukas Bulwahn <lukas.bulwahn@...il.com>, Andrii
Nakryiko <andrii@...nel.org>, Alexei Starovoitov <ast@...nel.org>, Peter
Zijlstra <peterz@...radead.org>, bpf@...r.kernel.org
Subject: Re: [PATCH 20/34] checkpatch: Deprecate rcu_read_{,un}lock_trace()
On Tue, 2025-09-23 at 07:20 -0700, Paul E. McKenney wrote:
> Uses of rcu_read_lock_trace() and rcu_read_unlock_trace()
> are better served by the new rcu_read_lock_tasks_trace() and
> rcu_read_unlock_tasks_trace() APIs. Therefore, mark the old APIs as
> deprecated.
>
> Signed-off-by: Paul E. McKenney <paulmck@...nel.org>
Acked-by: Joe Perches <joe@...ches.com>
> Cc: Andy Whitcroft <apw@...onical.com>
> Cc: Joe Perches <joe@...ches.com>
> Cc: Dwaipayan Ray <dwaipayanray1@...il.com>
> Cc: Lukas Bulwahn <lukas.bulwahn@...il.com>
> Cc: Andrii Nakryiko <andrii@...nel.org>
> Cc: Alexei Starovoitov <ast@...nel.org>
> Cc: Peter Zijlstra <peterz@...radead.org>
> Cc: <bpf@...r.kernel.org>
> ---
> scripts/checkpatch.pl | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index e722dd6fa8ef3d..3bb7d35a5cfcba 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -860,6 +860,8 @@ our %deprecated_apis = (
> "kunmap" => "kunmap_local",
> "kmap_atomic" => "kmap_local_page",
> "kunmap_atomic" => "kunmap_local",
> + "rcu_read_lock_trace" => "rcu_read_lock_tasks_trace",
> + "rcu_read_unlock_trace" => "rcu_read_unlock_tasks_trace",
> );
>
> #Create a search pattern for all these strings to speed up a loop below
Powered by blists - more mailing lists