Skip to contentSkip to conversation

llist: Make locking comments consistent

PATCH Applied Philipp Stanner 1 participant 1 message May 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/linux/llist.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/llist.h +2 -2
index 607b2360c938..8846b7709669 100644
@@ -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.
Signature · 1 line
2.49.0