Commit 7fef6cff authored by Ethon Paul's avatar Ethon Paul Committed by Paul E. McKenney
Browse files

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



This commit fixes a typo in a comment.

Signed-off-by: default avatarEthon Paul <ethp@qq.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 9ebcfadb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -766,7 +766,7 @@ static void srcu_flip(struct srcu_struct *ssp)
 * it, if this function was preempted for enough time for the counters
 * 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
 * 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
 * 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.
 * of a needlessly non-expedited grace period is similarly negligible.
 */
 */
static bool srcu_might_be_idle(struct srcu_struct *ssp)
static bool srcu_might_be_idle(struct srcu_struct *ssp)