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

From: Paul E. McKenney
Date: Thu Oct 15 2020 - 13:37:35 EST


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 <zhouzhouyi@xxxxxxxxx>

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
>