2020-10-15 04:52:00

by Zhouyi Zhou

[permalink] [raw]
Subject: [PATCH] RCU: fix a typo in comments of rcu_blocking_is_gp

There is a tiny typo in comment of function rcu_blocking_is_gp.

Signed-off-by: Zhouyi Zhou <[email protected]>
---
kernel/rcu/tree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index f78ee75..4cca03f 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -3512,7 +3512,7 @@ void __init kfree_rcu_scheduler_running(void)
* During early boot, any blocking grace-period wait automatically
* implies a grace period. Later on, this is never the case for PREEMPTION.
*
- * Howevr, because a context switch is a grace period for !PREEMPTION, any
+ * However, because a context switch is a grace period for !PREEMPTION, any
* blocking grace-period wait automatically implies a grace period if
* there is only one CPU online at any point time during execution of
* either synchronize_rcu() or synchronize_rcu_expedited(). It is OK to
--
1.7.1


2020-10-15 21:25:05

by Paul E. McKenney

[permalink] [raw]
Subject: Re: [PATCH] RCU: fix a typo in comments of rcu_blocking_is_gp

On Thu, Oct 15, 2020 at 03:53:03AM +0000, Zhouyi Zhou wrote:
> There is a tiny typo in comment of function rcu_blocking_is_gp.
>
> Signed-off-by: Zhouyi Zhou <[email protected]>

Good catch, queued, thank you!

Thanx, Paul

> ---
> kernel/rcu/tree.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
> index f78ee75..4cca03f 100644
> --- a/kernel/rcu/tree.c
> +++ b/kernel/rcu/tree.c
> @@ -3512,7 +3512,7 @@ void __init kfree_rcu_scheduler_running(void)
> * During early boot, any blocking grace-period wait automatically
> * implies a grace period. Later on, this is never the case for PREEMPTION.
> *
> - * Howevr, because a context switch is a grace period for !PREEMPTION, any
> + * However, because a context switch is a grace period for !PREEMPTION, any
> * blocking grace-period wait automatically implies a grace period if
> * there is only one CPU online at any point time during execution of
> * either synchronize_rcu() or synchronize_rcu_expedited(). It is OK to
> --
> 1.7.1
>