Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

checkpatch: Deprecate rcu_read_{,un}lock_trace()

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@kernel.org>
Acked-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Dwaipayan Ray <dwaipayanray1@gmail.com>
Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: bpf@vger.kernel.org
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>

authored by

Paul E. McKenney and committed by
Boqun Feng
e55c2e28 c0872be2

+3 -1
+3 -1
scripts/checkpatch.pl
··· 863 863 #These should be enough to drive away new IDR users 864 864 "DEFINE_IDR" => "DEFINE_XARRAY", 865 865 "idr_init" => "xa_init", 866 - "idr_init_base" => "xa_init_flags" 866 + "idr_init_base" => "xa_init_flags", 867 + "rcu_read_lock_trace" => "rcu_read_lock_tasks_trace", 868 + "rcu_read_unlock_trace" => "rcu_read_unlock_tasks_trace", 867 869 ); 868 870 869 871 #Create a search pattern for all these strings to speed up a loop below