mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
llist: make locking comments consistent
llist's locking requirement table has a legend which claims that all operations not needing a lock a marked with '-', whereas in truth for some table entries just a whitespace is used. Add the '-' to all appropriate places. Link: https://lore.kernel.org/20260507094918.23910-2-phasta@kernel.org Signed-off-by: Philipp Stanner <phasta@kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: "Paul E . McKenney" <paulmck@kernel.org> Cc: Shakeel Butt <shakeel.butt@linux.dev> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
e4f5f6f3c1
commit
25c786a9f7
|
|
@ -26,8 +26,8 @@
|
|||
*
|
||||
* | add | del_first | del_all
|
||||
* add | - | - | -
|
||||
* del_first | | L | L
|
||||
* del_all | | | -
|
||||
* del_first | - | L | L
|
||||
* del_all | - | - | -
|
||||
*
|
||||
* Where, a particular row's operation can happen concurrently with a column's
|
||||
* operation, with "-" being no lock needed, while "L" being lock is needed.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user