]> git.baikalelectronics.ru Git - kernel.git/commitdiff
cpuset: fix typos in comments
authorAubrey Li <aubrey.li@intel.com>
Wed, 13 Jan 2021 04:37:41 +0000 (12:37 +0800)
committerTejun Heo <tj@kernel.org>
Fri, 15 Jan 2021 20:36:41 +0000 (15:36 -0500)
Change hierachy to hierarchy and congifured to configured, no functionality
changed.

Signed-off-by: Aubrey Li <aubrey.li@linux.intel.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cpuset.c

index 53c70c470a38d729fa665b6c513e80b5d03c6a3b..5258b68153e0307cc636beb55c78582f110598bb 100644 (file)
@@ -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
  */