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.
Showing the changes to scripts/checkpatch.pl (1 of 1 file). Show all
Unified · Split
| @@ -839,6 +839,8 @@ our %deprecated_apis = ( · 838 unmodified lines | ||
| 839 | 839 | "kunmap" => "kunmap_local", |
| 840 | 840 | "kmap_atomic" => "kmap_local_page", |
| 841 | 841 | "kunmap_atomic" => "kunmap_local", |
| 842 | + "srcu_read_lock_lite" => "srcu_read_lock_fast", | |
| 843 | + "srcu_read_unlock_lite" => "srcu_read_unlock_fast", | |
| 842 | 844 | ); |
| 843 | 845 | |
| 844 | 846 | #Create a search pattern for all these strings to speed up a loop below |