All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation/locking/locktypes: fix the typo
@ 2020-08-13  6:02 Huang Shijie
  2020-08-13 12:26 ` Will Deacon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Huang Shijie @ 2020-08-13  6:02 UTC (permalink / raw)
  To: peterz; +Cc: mingo, will, corbet, linux-kernel, linux-doc, Huang Shijie

We have three categories locks, not two.

Signed-off-by: Huang Shijie <sjhuang@iluvatar.ai>
---
 Documentation/locking/locktypes.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/locking/locktypes.rst b/Documentation/locking/locktypes.rst
index 1b577a8bf982..4cefed8048ca 100644
--- a/Documentation/locking/locktypes.rst
+++ b/Documentation/locking/locktypes.rst
@@ -10,7 +10,7 @@ Introduction
 ============
 
 The kernel provides a variety of locking primitives which can be divided
-into two categories:
+into three categories:
 
  - Sleeping locks
  - CPU local locks
-- 
2.17.1


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

* Re: [PATCH] Documentation/locking/locktypes: fix the typo
  2020-08-13  6:02 [PATCH] Documentation/locking/locktypes: fix the typo Huang Shijie
@ 2020-08-13 12:26 ` Will Deacon
  2020-08-13 20:48 ` Jonathan Corbet
  2020-08-13 20:50 ` [tip: locking/urgent] Documentation/locking/locktypes: Fix a typo tip-bot2 for Huang Shijie
  2 siblings, 0 replies; 4+ messages in thread
From: Will Deacon @ 2020-08-13 12:26 UTC (permalink / raw)
  To: Huang Shijie; +Cc: peterz, mingo, corbet, linux-kernel, linux-doc

On Thu, Aug 13, 2020 at 02:02:20PM +0800, Huang Shijie wrote:
> We have three categories locks, not two.
> 
> Signed-off-by: Huang Shijie <sjhuang@iluvatar.ai>
> ---
>  Documentation/locking/locktypes.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/locking/locktypes.rst b/Documentation/locking/locktypes.rst
> index 1b577a8bf982..4cefed8048ca 100644
> --- a/Documentation/locking/locktypes.rst
> +++ b/Documentation/locking/locktypes.rst
> @@ -10,7 +10,7 @@ Introduction
>  ============
>  
>  The kernel provides a variety of locking primitives which can be divided
> -into two categories:
> +into three categories:
>  
>   - Sleeping locks
>   - CPU local locks

Acked-by: Will Deacon <will@kernel.org>

Will

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

* Re: [PATCH] Documentation/locking/locktypes: fix the typo
  2020-08-13  6:02 [PATCH] Documentation/locking/locktypes: fix the typo Huang Shijie
  2020-08-13 12:26 ` Will Deacon
@ 2020-08-13 20:48 ` Jonathan Corbet
  2020-08-13 20:50 ` [tip: locking/urgent] Documentation/locking/locktypes: Fix a typo tip-bot2 for Huang Shijie
  2 siblings, 0 replies; 4+ messages in thread
From: Jonathan Corbet @ 2020-08-13 20:48 UTC (permalink / raw)
  To: Huang Shijie; +Cc: peterz, mingo, will, linux-kernel, linux-doc

On Thu, 13 Aug 2020 14:02:20 +0800
Huang Shijie <sjhuang@iluvatar.ai> wrote:

> We have three categories locks, not two.
> 
> Signed-off-by: Huang Shijie <sjhuang@iluvatar.ai>
> ---
>  Documentation/locking/locktypes.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/locking/locktypes.rst b/Documentation/locking/locktypes.rst
> index 1b577a8bf982..4cefed8048ca 100644
> --- a/Documentation/locking/locktypes.rst
> +++ b/Documentation/locking/locktypes.rst
> @@ -10,7 +10,7 @@ Introduction
>  ============
>  
>  The kernel provides a variety of locking primitives which can be divided
> -into two categories:
> +into three categories:

One can never get away from those off-by-one errors...applied, thanks.

jon

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

* [tip: locking/urgent] Documentation/locking/locktypes: Fix a typo
  2020-08-13  6:02 [PATCH] Documentation/locking/locktypes: fix the typo Huang Shijie
  2020-08-13 12:26 ` Will Deacon
  2020-08-13 20:48 ` Jonathan Corbet
@ 2020-08-13 20:50 ` tip-bot2 for Huang Shijie
  2 siblings, 0 replies; 4+ messages in thread
From: tip-bot2 for Huang Shijie @ 2020-08-13 20:50 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Huang Shijie, Ingo Molnar, Will Deacon, x86, LKML

The following commit has been merged into the locking/urgent branch of tip:

Commit-ID:     cb75c95c5262328bd4da3dd334f6826a3a34a979
Gitweb:        https://git.kernel.org/tip/cb75c95c5262328bd4da3dd334f6826a3a34a979
Author:        Huang Shijie <sjhuang@iluvatar.ai>
AuthorDate:    Thu, 13 Aug 2020 14:02:20 +08:00
Committer:     Ingo Molnar <mingo@kernel.org>
CommitterDate: Thu, 13 Aug 2020 20:59:06 +02:00

Documentation/locking/locktypes: Fix a typo

We have three categories locks, not two.

Signed-off-by: Huang Shijie <sjhuang@iluvatar.ai>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20200813060220.18199-1-sjhuang@iluvatar.ai
---
 Documentation/locking/locktypes.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/locking/locktypes.rst b/Documentation/locking/locktypes.rst
index 1b577a8..4cefed8 100644
--- a/Documentation/locking/locktypes.rst
+++ b/Documentation/locking/locktypes.rst
@@ -10,7 +10,7 @@ Introduction
 ============
 
 The kernel provides a variety of locking primitives which can be divided
-into two categories:
+into three categories:
 
  - Sleeping locks
  - CPU local locks

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

end of thread, other threads:[~2020-08-13 20:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-13  6:02 [PATCH] Documentation/locking/locktypes: fix the typo Huang Shijie
2020-08-13 12:26 ` Will Deacon
2020-08-13 20:48 ` Jonathan Corbet
2020-08-13 20:50 ` [tip: locking/urgent] Documentation/locking/locktypes: Fix a typo tip-bot2 for Huang Shijie

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.