Skip to contentSkip to conversation

srcu: Fix a typo in comment "amoritized"->"amortized"

PATCH Paul E. McKenney 1 participant 1 message Apr 19, 2020 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Paul E. McKenney

author maintainer
#1 lore raw
In reply to a message not in the archive
Quoted 3 lines · Ethon Paul

There is a typo in comment, fix it.

Good eyes!!! Queued, thank you!

I did edit the commit log as shown below. Please let me know if I messed anything up.

Thanx, Paul

------------------------------------------------------------------------

commit 496c9c0dc7b259ee93ea91789a20e09421e840c1

Author: Ethon Paul <[email protected]>
Date:   Sat Apr 18 19:46:47 2020 +0800

srcu: Fix a typo in comment "amoritized"->"amortized"

This commit fixes a typo in a comment.

kernel/rcu/srcutree.c +1 -1
index 6d3ef70..8ff71e5 100644
@@ -766,7 +766,7 @@ static void srcu_flip(struct srcu_struct *ssp)
  * it, if this function was preempted for enough time for the counters
  * to wrap, it really doesn't matter whether or not we expedite the grace
  * period.  The extra overhead of a needlessly expedited grace period is
- * negligible when amoritized over that time period, and the extra latency
+ * negligible when amortized over that time period, and the extra latency
  * of a needlessly non-expedited grace period is similarly negligible.
  */
 static bool srcu_might_be_idle(struct srcu_struct *ssp)