History

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

This commit fixes a typo in a comment.

Ethon Paul committed 6 years ago

Commit 7fef6cf1 parent 9ebcfad1 file · +1 −1Browse files

Unified · Split

kernel/rcu/srcutree.c+1−1
@@ -766,7 +766,7 @@ static void srcu_flip(struct srcu_struct *ssp) · 765 unmodified lines
766 * it, if this function was preempted for enough time for the counters766 * it, if this function was preempted for enough time for the counters
767 * to wrap, it really doesn't matter whether or not we expedite the grace767 * to wrap, it really doesn't matter whether or not we expedite the grace
768 * period. The extra overhead of a needlessly expedited grace period is768 * period. The extra overhead of a needlessly expedited grace period is
769 * negligible when amoritized over that time period, and the extra latency769 * negligible when amortized over that time period, and the extra latency
770 * of a needlessly non-expedited grace period is similarly negligible.770 * of a needlessly non-expedited grace period is similarly negligible.
771 */771 */
772static bool srcu_might_be_idle(struct srcu_struct *ssp)772static bool srcu_might_be_idle(struct srcu_struct *ssp)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t