aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu
diff options
context:
space:
mode:
authorEthon Paul <ethp@qq.com>2020-04-18 19:46:47 +0800
committerPaul E. McKenney <paulmck@kernel.org>2020-06-29 12:01:22 -0700
commit7fef6cff8f2814bf8eb632e2bb8f0a987ffd9ece (patch)
treef9b769d2886b344e3d32dc50f68db7a762a33fe2 /kernel/rcu
parentLinux 5.8-rc3 (diff)
downloadlinux-dev-7fef6cff8f2814bf8eb632e2bb8f0a987ffd9ece.tar.xz
linux-dev-7fef6cff8f2814bf8eb632e2bb8f0a987ffd9ece.zip
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>
Diffstat (limited to 'kernel/rcu')
-rw-r--r--kernel/rcu/srcutree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/srcutree.c b/kernel/rcu/srcutree.c
index 6d3ef700fb0e..8ff71e5d0fe8 100644
--- a/kernel/rcu/srcutree.c
+++ b/kernel/rcu/srcutree.c
@@ -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)