2021-01-13 04:34:33

by Aubrey Li

[permalink] [raw]
Subject: [PATCH] cpuset: fix typos in comments

Change hierachy to hierarchy and congifured to configured, no functionality
changed.

Signed-off-by: Aubrey Li <[email protected]>
---
kernel/cgroup/cpuset.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c
index 57b5b5d..15f4300 100644
--- a/kernel/cgroup/cpuset.c
+++ b/kernel/cgroup/cpuset.c
@@ -98,7 +98,7 @@ struct cpuset {
* and if it ends up empty, it will inherit the parent's mask.
*
*
- * On legacy hierachy:
+ * On legacy hierarchy:
*
* The user-configured masks are always the same with effective masks.
*/
@@ -1286,10 +1286,10 @@ static int update_parent_subparts_cpumask(struct cpuset *cpuset, int cmd,
* @cs: the cpuset to consider
* @tmp: temp variables for calculating effective_cpus & partition setup
*
- * When congifured cpumask is changed, the effective cpumasks of this cpuset
+ * When configured cpumask is changed, the effective cpumasks of this cpuset
* and all its descendants need to be updated.
*
- * On legacy hierachy, effective_cpus will be the same with cpu_allowed.
+ * On legacy hierarchy, effective_cpus will be the same with cpu_allowed.
*
* Called with cpuset_mutex held
*/
--
2.7.4


2021-01-13 04:37:52

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] cpuset: fix typos in comments

On 1/12/21 8:37 PM, Aubrey Li wrote:
> Change hierachy to hierarchy and congifured to configured, no functionality
> changed.
>
> Signed-off-by: Aubrey Li <[email protected]>

Reviewed-by: Randy Dunlap <[email protected]>

Thanks.

> ---
> kernel/cgroup/cpuset.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c
> index 57b5b5d..15f4300 100644
> --- a/kernel/cgroup/cpuset.c
> +++ b/kernel/cgroup/cpuset.c
> @@ -98,7 +98,7 @@ struct cpuset {
> * and if it ends up empty, it will inherit the parent's mask.
> *
> *
> - * On legacy hierachy:
> + * On legacy hierarchy:
> *
> * The user-configured masks are always the same with effective masks.
> */
> @@ -1286,10 +1286,10 @@ static int update_parent_subparts_cpumask(struct cpuset *cpuset, int cmd,
> * @cs: the cpuset to consider
> * @tmp: temp variables for calculating effective_cpus & partition setup
> *
> - * When congifured cpumask is changed, the effective cpumasks of this cpuset
> + * When configured cpumask is changed, the effective cpumasks of this cpuset
> * and all its descendants need to be updated.
> *
> - * On legacy hierachy, effective_cpus will be the same with cpu_allowed.
> + * On legacy hierarchy, effective_cpus will be the same with cpu_allowed.
> *
> * Called with cpuset_mutex held
> */
>


--
~Randy
You can't do anything without having to do something else first.
-- Belefant's Law

2021-01-15 20:40:05

by Tejun Heo

[permalink] [raw]
Subject: Re: [PATCH] cpuset: fix typos in comments

On Wed, Jan 13, 2021 at 12:37:41PM +0800, Aubrey Li wrote:
> Change hierachy to hierarchy and congifured to configured, no functionality
> changed.
>
> Signed-off-by: Aubrey Li <[email protected]>

Applied to cgroup/for-5.12.

Thanks.

--
tejun