rcu: Fix typo in comment: kthead -> kthread
authorRolf Eike Beer <eb@emlix.com>
Wed, 17 Mar 2021 09:24:51 +0000 (10:24 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 10 May 2021 22:45:58 +0000 (15:45 -0700)
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree_plugin.h
mm/oom_kill.c

index ad0156b..2cbe8f8 100644 (file)
@@ -1940,7 +1940,7 @@ static bool rcu_nocb_try_bypass(struct rcu_data *rdp, struct rcu_head *rhp,
 }
 
 /*
- * Awaken the no-CBs grace-period kthead if needed, either due to it
+ * Awaken the no-CBs grace-period kthread if needed, either due to it
  * legitimately being asleep or due to overload conditions.
  *
  * If warranted, also wake up the kthread servicing this CPUs queues.
index eefd3f5..54527de 100644 (file)
@@ -922,7 +922,7 @@ static void __oom_kill_process(struct task_struct *victim, const char *message)
                        continue;
                }
                /*
-                * No kthead_use_mm() user needs to read from the userspace so
+                * No kthread_use_mm() user needs to read from the userspace so
                 * we are ok to reap it.
                 */
                if (unlikely(p->flags & PF_KTHREAD))