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

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
...@@ -766,7 +766,7 @@ static void srcu_flip(struct srcu_struct *ssp) ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment