* [PATCH] llist: Make locking comments consistent
@ 2026-05-07 9:49 Philipp Stanner
0 siblings, 0 replies; only message in thread
From: Philipp Stanner @ 2026-05-07 9:49 UTC (permalink / raw)
To: Tejun Heo, Philipp Stanner, Andrew Morton, Jens Axboe,
Paul E. McKenney, Shakeel Butt
Cc: linux-kernel
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.
Signed-off-by: Philipp Stanner <phasta@kernel.org>
---
include/linux/llist.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/llist.h b/include/linux/llist.h
index 607b2360c938..8846b7709669 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.
--
2.49.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-07 9:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-07 9:49 [PATCH] llist: Make locking comments consistent Philipp Stanner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox