srcu: Fix a typo in comment "amoritized"->"amortized"
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>
This commit is contained in:
Родитель
9ebcfadb06
Коммит
7fef6cff8f
|
@ -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)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче