Skip to content

Commit 7d64394

Browse files
rddunlapJonathan Corbet
authored andcommitted
Documentation: locking: mutex-design: fix duplicated word
Change the phrase "at at least" to "to at least" to be more readable. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20200703213649.30948-2-rdunlap@infradead.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent bfbc7e5 commit 7d64394

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Documentation/locking/mutex-design.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ and implemented in kernel/locking/mutex.c. These locks use an atomic variable
2828
(->owner) to keep track of the lock state during its lifetime. Field owner
2929
actually contains `struct task_struct *` to the current lock owner and it is
3030
therefore NULL if not currently owned. Since task_struct pointers are aligned
31-
at at least L1_CACHE_BYTES, low bits (3) are used to store extra state (e.g.,
31+
to at least L1_CACHE_BYTES, low bits (3) are used to store extra state (e.g.,
3232
if waiter list is non-empty). In its most basic form it also includes a
3333
wait-queue and a spinlock that serializes access to it. Furthermore,
3434
CONFIG_MUTEX_SPIN_ON_OWNER=y systems use a spinner MCS lock (->osq), described

0 commit comments

Comments
 (0)