Skip to contentSkip to conversation

RCU: fix a typo in comments of rcu_blocking_is_gp

PATCH In review Zhouyi Zhou 2 participants 2 messages Oct 15, 2020 RCU

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RCU: fix a typo in comments of rcu_blocking_is_gp

There is a tiny typo in comment of function rcu_blocking_is_gp.

---
 kernel/rcu/tree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/rcu/tree.c +1 -1
index f78ee75..4cca03f 100644
@@ -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
Signature · 1 line
1.7.1
maintainer
#1 lore raw
Quoted 3 lines · Zhouyi Zhou

There is a tiny typo in comment of function rcu_blocking_is_gp.

Good catch, queued, thank you!

Thanx, Paul

Quoted 20 lines
---
 kernel/rcu/tree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/rcu/tree.c +1 -1
index f78ee75..4cca03f 100644
@@ -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
Signature · 1 line
1.7.1