From: Philipp Stanner <phasta@kernel.org>
To: Tejun Heo <tj@kernel.org>, Philipp Stanner <phasta@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Jens Axboe <axboe@kernel.dk>,
"Paul E. McKenney" <paulmck@kernel.org>,
Shakeel Butt <shakeel.butt@linux.dev>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] llist: Make locking comments consistent
Date: Thu, 7 May 2026 11:49:19 +0200 [thread overview]
Message-ID: <20260507094918.23910-2-phasta@kernel.org> (raw)
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
reply other threads:[~2026-05-07 9:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260507094918.23910-2-phasta@kernel.org \
--to=phasta@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=paulmck@kernel.org \
--cc=shakeel.butt@linux.dev \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.