projects/linux·commit 415de5fd

cpuset: fix typos in comments

415de5fd · Aubrey Li <[email protected]> · 2021-01-13 12:37:41 +08:00

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

Signed-off-by: Aubrey Li <[email protected]>
Reviewed-by: Randy Dunlap <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Commit
415de5fdeb5ac28c2960df85b749700560dcd63c
Parents
da70862e

Changes

1 files changed · +3 −3

FileStatusAddDelContent
kernel/cgroup/cpuset.cmodified+3−3View file

kernel/cgroup/cpuset.c

View file
diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c
index 53c70c4..5258b68 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.
*/
@@ -1309,10 +1309,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
*/