aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
authorPhilipp Stanner <phasta@kernel.org>2026-05-07 11:49:19 +0200
committerAndrew Morton <akpm@linux-foundation.org>2026-05-28 21:24:46 -0700
commit25c786a9f7f8b5e882367f569020f1f37ac9fea7 (patch)
tree1d0bf72015c0a838f7f423c9eb37cbd3fc3f81eb /include
parente4f5f6f3c199ae7fbe142da6b79a97a504ac7e55 (diff)
downloadlinux-next-history-25c786a9f7f8b5e882367f569020f1f37ac9fea7.tar.gz
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/llist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/llist.h b/include/linux/llist.h
index 607b2360c938c..8846b7709669f 100644
--- a/include/linux/llist.h
+++ b/include/linux/llist.h
@@ -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.