All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Documentation: locking: eliminate duplicated words
@ 2020-07-03 21:36 Randy Dunlap
  2020-07-03 21:36 ` [PATCH 1/2] Documentation: locking: mutex-design: fix duplicated word Randy Dunlap
  2020-07-03 21:36 ` [PATCH 2/2] Documentation: locking: ww-mutex-design: drop " Randy Dunlap
  0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2020-07-03 21:36 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Jonathan Corbet, linux-doc, Peter Zijlstra,
	Ingo Molnar, Will Deacon

Drop doubled words in Documentation/locking/.


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>

 Documentation/locking/mutex-design.rst    |    2 +-
 Documentation/locking/ww-mutex-design.rst |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] Documentation: locking: mutex-design: fix duplicated word
  2020-07-03 21:36 [PATCH 0/2] Documentation: locking: eliminate duplicated words Randy Dunlap
@ 2020-07-03 21:36 ` Randy Dunlap
  2020-07-03 21:36 ` [PATCH 2/2] Documentation: locking: ww-mutex-design: drop " Randy Dunlap
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2020-07-03 21:36 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Jonathan Corbet, linux-doc, Peter Zijlstra,
	Ingo Molnar, Will Deacon

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>
---
 Documentation/locking/mutex-design.rst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20200701.orig/Documentation/locking/mutex-design.rst
+++ linux-next-20200701/Documentation/locking/mutex-design.rst
@@ -28,7 +28,7 @@ and implemented in kernel/locking/mutex.
 (->owner) to keep track of the lock state during its lifetime.  Field owner
 actually contains `struct task_struct *` to the current lock owner and it is
 therefore NULL if not currently owned. Since task_struct pointers are aligned
-at at least L1_CACHE_BYTES, low bits (3) are used to store extra state (e.g.,
+to at least L1_CACHE_BYTES, low bits (3) are used to store extra state (e.g.,
 if waiter list is non-empty).  In its most basic form it also includes a
 wait-queue and a spinlock that serializes access to it. Furthermore,
 CONFIG_MUTEX_SPIN_ON_OWNER=y systems use a spinner MCS lock (->osq), described

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] Documentation: locking: ww-mutex-design: drop duplicated word
  2020-07-03 21:36 [PATCH 0/2] Documentation: locking: eliminate duplicated words Randy Dunlap
  2020-07-03 21:36 ` [PATCH 1/2] Documentation: locking: mutex-design: fix duplicated word Randy Dunlap
@ 2020-07-03 21:36 ` Randy Dunlap
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2020-07-03 21:36 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Jonathan Corbet, linux-doc, Peter Zijlstra,
	Ingo Molnar, Will Deacon

Drop the doubled word "up".

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>
---
 Documentation/locking/ww-mutex-design.rst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20200701.orig/Documentation/locking/ww-mutex-design.rst
+++ linux-next-20200701/Documentation/locking/ww-mutex-design.rst
@@ -49,7 +49,7 @@ However, the Wound-Wait algorithm is typ
 compared to Wait-Die, but is, on the other hand, associated with more work than
 Wait-Die when recovering from a backoff. Wound-Wait is also a preemptive
 algorithm in that transactions are wounded by other transactions, and that
-requires a reliable way to pick up up the wounded condition and preempt the
+requires a reliable way to pick up the wounded condition and preempt the
 running transaction. Note that this is not the same as process preemption. A
 Wound-Wait transaction is considered preempted when it dies (returning
 -EDEADLK) following a wound.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-03 21:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03 21:36 [PATCH 0/2] Documentation: locking: eliminate duplicated words Randy Dunlap
2020-07-03 21:36 ` [PATCH 1/2] Documentation: locking: mutex-design: fix duplicated word Randy Dunlap
2020-07-03 21:36 ` [PATCH 2/2] Documentation: locking: ww-mutex-design: drop " Randy Dunlap

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.