mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-19 12:49:10 +08:00
checkpatch: Deprecate srcu_read_lock_lite() and srcu_read_unlock_lite()
Uses of srcu_read_lock_lite() and srcu_read_unlock_lite() are better served by the new srcu_read_lock_fast() and srcu_read_unlock_fast() APIs. As in srcu_read_lock_lite() and srcu_read_unlock_lite() would never have happened had I thought a bit harder a few months ago. Therefore, mark them deprecated. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
This commit is contained in:
committed by
Joel Fernandes
parent
ed0d0db095
commit
b9af71a26d
@@ -839,6 +839,8 @@ our %deprecated_apis = (
|
||||
"kunmap" => "kunmap_local",
|
||||
"kmap_atomic" => "kmap_local_page",
|
||||
"kunmap_atomic" => "kunmap_local",
|
||||
"srcu_read_lock_lite" => "srcu_read_lock_fast",
|
||||
"srcu_read_unlock_lite" => "srcu_read_unlock_fast",
|
||||
);
|
||||
|
||||
#Create a search pattern for all these strings to speed up a loop below
|
||||
|
||||
Reference in New Issue
Block a user