From: Philipp Stanner Date: Thu, 7 May 2026 09:49:19 +0000 (+0200) Subject: llist: make locking comments consistent X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25c786a9f7f8b5e882367f569020f1f37ac9fea7;p=thirdparty%2Flinux.git 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 Cc: Jens Axboe Cc: "Paul E . McKenney" Cc: Shakeel Butt Cc: Tejun Heo Signed-off-by: Andrew Morton --- 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.