From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2772E19992C for ; Thu, 7 May 2026 09:49:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778147399; cv=none; b=VyPDzNHz220wR6TPwdnzETCL1m/mN/oIugWzMykFzIqcw00zaKNXQNifpm73O6vCL9h9v0iJu9aCQxUgGJPPRcqKzZVs97AFnnN7M1URxAB9aR1EXwS4TpdBckpiKfylBWSm+wEy7KwZE++WmmKsAiyKVtEv8rmLYk2XT3ZPhxg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778147399; c=relaxed/simple; bh=yXfDaZl6SHE9MjfjG468bmTmfpxldApGHd+nbmqtkJ0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sGO6kas0iPaN03EuATSM4S5JfL44b6tRH0Sbn4dMAJOamLveDF7voactcNmSXYDyrvIMCK8OIAC8avFVfHOxuLKrYPO/EFbmQCBA6EIehRE2sNxtuT7Rx6W8c4TCAFoH3vezghWIw5gogcmEpdVHGSAs9aCHNiq47MOEi3CZeA8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qqS/hoXZ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qqS/hoXZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07DE7C2BCB8; Thu, 7 May 2026 09:49:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778147399; bh=yXfDaZl6SHE9MjfjG468bmTmfpxldApGHd+nbmqtkJ0=; h=From:To:Cc:Subject:Date:From; b=qqS/hoXZTz8oCjLxzVKRjiBz+8gxxqjylFw47G7EvzxsfSbalYRbIUi5ngJ1dfDNW 4itLd1fD4tta47iWSBH7QvjRV9tnqQJpkUBIdiuQGPA2qse0/GXj5gQD8/2MMA+HsV 3cq6uj912lSpUV/xMkKUDKPCZVebVGMYuXZtbKXWlQOxbFlYJXnrJu3HcO7LM7PWu/ YzoP8E4R5GrI7OVeflfMAXpme/gFgDEye/Z4b3GhmkOyex8hG9pI7S5q5/mPx3br20 Hs2THr1P3l4qFi+HsVRQ/sAQmtoqAdBoWxKfNk6YKG/QH/uzvuW56bDbfsiQ4D1uIT QOMIbj9pO2ZgA== From: Philipp Stanner To: Tejun Heo , Philipp Stanner , Andrew Morton , Jens Axboe , "Paul E. McKenney" , Shakeel Butt Cc: linux-kernel@vger.kernel.org Subject: [PATCH] llist: Make locking comments consistent Date: Thu, 7 May 2026 11:49:19 +0200 Message-ID: <20260507094918.23910-2-phasta@kernel.org> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- 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