2021-03-17 09:26:43

by Rolf Eike Beer

[permalink] [raw]
Subject: [PATCH] typo: kthead -> kthread

Signed-off-by: Rolf Eike Beer <[email protected]>
---
kernel/rcu/tree_plugin.h | 2 +-
mm/oom_kill.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index 2d603771c7dc..5f22869d7c66 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -1861,7 +1861,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.
diff --git a/mm/oom_kill.c b/mm/oom_kill.c
index 9efaf430cfd3..cd7f9ac48746 100644
--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -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))
--
2.30.2

--
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Gothaer Platz 3, 37083 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055

emlix - smart embedded open source




2021-03-17 21:36:54

by Paul E. McKenney

[permalink] [raw]
Subject: Re: [PATCH] typo: kthead -> kthread

On Wed, Mar 17, 2021 at 10:24:51AM +0100, Rolf Eike Beer wrote:
> Signed-off-by: Rolf Eike Beer <[email protected]>
> ---
> kernel/rcu/tree_plugin.h | 2 +-
> mm/oom_kill.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)

Good eyes, queued, thank you!

Thanx, Paul

> diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
> index 2d603771c7dc..5f22869d7c66 100644
> --- a/kernel/rcu/tree_plugin.h
> +++ b/kernel/rcu/tree_plugin.h
> @@ -1861,7 +1861,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.
> diff --git a/mm/oom_kill.c b/mm/oom_kill.c
> index 9efaf430cfd3..cd7f9ac48746 100644
> --- a/mm/oom_kill.c
> +++ b/mm/oom_kill.c
> @@ -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))
> --
> 2.30.2
>
> --
> Rolf Eike Beer, emlix GmbH, http://www.emlix.com
> Fon +49 551 30664-0, Fax +49 551 30664-11
> Gothaer Platz 3, 37083 Göttingen, Germany
> Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
> Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055
>
> emlix - smart embedded open source
>
>
>