History

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.

Paul E. McKenney committed 1 year ago

Commit b9af71a1 parent ed0d0db1 file · +2 −0Browse files

Showing the changes to scripts/checkpatch.pl (1 of 1 file). Show all

Unified · Split

scripts/checkpatch.pl+2−0
@@ -839,6 +839,8 @@ our %deprecated_apis = ( · 838 unmodified lines
839839 "kunmap" => "kunmap_local",
840840 "kmap_atomic" => "kmap_local_page",
841841 "kunmap_atomic" => "kunmap_local",
842+ "srcu_read_lock_lite" => "srcu_read_lock_fast",
843+ "srcu_read_unlock_lite" => "srcu_read_unlock_fast",
842844 );
843845
844846 #Create a search pattern for all these strings to speed up a loop below