Skip to content

Commit 7fef6cf

Browse files
Ethon Paulpaulmckrcu
authored andcommitted
srcu: Fix a typo in comment "amoritized"->"amortized"
This commit fixes a typo in a comment. Signed-off-by: Ethon Paul <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 9ebcfad commit 7fef6cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/rcu/srcutree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ static void srcu_flip(struct srcu_struct *ssp)
766766
* it, if this function was preempted for enough time for the counters
767767
* to wrap, it really doesn't matter whether or not we expedite the grace
768768
* period. The extra overhead of a needlessly expedited grace period is
769-
* negligible when amoritized over that time period, and the extra latency
769+
* negligible when amortized over that time period, and the extra latency
770770
* of a needlessly non-expedited grace period is similarly negligible.
771771
*/
772772
static bool srcu_might_be_idle(struct srcu_struct *ssp)

0 commit comments

Comments
 (0)