srcu: Fix a typo in comment "amoritized"->"amortized"
authorEthon Paul <ethp@qq.com>
Sat, 18 Apr 2020 11:46:47 +0000 (19:46 +0800)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 19:01:22 +0000 (12:01 -0700)
This commit fixes a typo in a comment.

Signed-off-by: Ethon Paul <ethp@qq.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/srcutree.c

index 6d3ef700fb0e174e9522c2efdd4108d28f846bdd..8ff71e5d0fe8b879943c06dd547e43d8c2e4835e 100644 (file)
@@ -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)