srcu: Fix a typo in comment "amoritized"->"amortized"
Subsystems (2)
Paul E. McKenney
maintainerQuoted 3 lines · Ethon Paul
There is a typo in comment, fix it.
Signed-off-by Ethon Paul <[email protected]>
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.
Signed-off-by Ethon Paul <[email protected]>
Signed-off-by Paul E. McKenney <[email protected]>
kernel/rcu/srcutree.c +1 -1
@@ -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)