* Re: [PATCH] srcu: Fix a typo in comment "amoritized"->"amortized"
[not found] <20200418114648.7651-1-ethp@qq.com>
@ 2020-04-19 15:15 ` Paul E. McKenney
0 siblings, 0 replies; only message in thread
From: Paul E. McKenney @ 2020-04-19 15:15 UTC (permalink / raw)
To: Ethon Paul
Cc: Lai Jiangshan, Josh Triplett, Steven Rostedt, Mathieu Desnoyers,
rcu, linux-kernel
On Sat, Apr 18, 2020 at 07:46:47PM +0800, Ethon Paul wrote:
> There is a typo in comment, fix it.
>
> Signed-off-by: Ethon Paul <ethp@qq.com>
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 <ethp@qq.com>
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 <ethp@qq.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
diff --git a/kernel/rcu/srcutree.c b/kernel/rcu/srcutree.c
index 6d3ef70..8ff71e5 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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-19 15:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20200418114648.7651-1-ethp@qq.com>
2020-04-19 15:15 ` [PATCH] srcu: Fix a typo in comment "amoritized"->"amortized" Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).