Skip to content

Commit d109165

Browse files
committed
cgroup/cpuset: Fix spelling errors in file kernel/cgroup/cpuset.c
jira NONE_AUTOMATION Rebuild_History Non-Buildable kernel-5.14.0-570.17.1.el9_6 commit-author everestkc <[email protected]> commit 95a616d Corrected the spelling errors repoted by codespell as follows: temparary ==> temporary Proprogate ==> Propagate constrainted ==> constrained Signed-off-by: Everest K.C. <[email protected]> Acked-by: Waiman Long <[email protected]> Signed-off-by: Tejun Heo <[email protected]> (cherry picked from commit 95a616d) Signed-off-by: Jonathan Maple <[email protected]>
1 parent 8dd2c70 commit d109165

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

kernel/cgroup/cpuset.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,7 @@ static inline bool is_local_partition(struct cpuset *cs)
16241624
* remote_partition_enable - Enable current cpuset as a remote partition root
16251625
* @cs: the cpuset to update
16261626
* @new_prs: new partition_root_state
1627-
* @tmp: temparary masks
1627+
* @tmp: temporary masks
16281628
* Return: 0 if successful, errcode if error
16291629
*
16301630
* Enable the current cpuset to become a remote partition root taking CPUs
@@ -1662,7 +1662,7 @@ static int remote_partition_enable(struct cpuset *cs, int new_prs,
16621662
update_unbound_workqueue_cpumask(isolcpus_updated);
16631663

16641664
/*
1665-
* Proprogate changes in top_cpuset's effective_cpus down the hierarchy.
1665+
* Propagate changes in top_cpuset's effective_cpus down the hierarchy.
16661666
*/
16671667
update_tasks_cpumask(&top_cpuset, tmp->new_cpus);
16681668
update_sibling_cpumasks(&top_cpuset, NULL, tmp);
@@ -1672,7 +1672,7 @@ static int remote_partition_enable(struct cpuset *cs, int new_prs,
16721672
/*
16731673
* remote_partition_disable - Remove current cpuset from remote partition list
16741674
* @cs: the cpuset to update
1675-
* @tmp: temparary masks
1675+
* @tmp: temporary masks
16761676
*
16771677
* The effective_cpus is also updated.
16781678
*
@@ -1698,7 +1698,7 @@ static void remote_partition_disable(struct cpuset *cs, struct tmpmasks *tmp)
16981698
update_unbound_workqueue_cpumask(isolcpus_updated);
16991699

17001700
/*
1701-
* Proprogate changes in top_cpuset's effective_cpus down the hierarchy.
1701+
* Propagate changes in top_cpuset's effective_cpus down the hierarchy.
17021702
*/
17031703
update_tasks_cpumask(&top_cpuset, tmp->new_cpus);
17041704
update_sibling_cpumasks(&top_cpuset, NULL, tmp);
@@ -1708,7 +1708,7 @@ static void remote_partition_disable(struct cpuset *cs, struct tmpmasks *tmp)
17081708
* remote_cpus_update - cpus_exclusive change of remote partition
17091709
* @cs: the cpuset to be updated
17101710
* @newmask: the new effective_xcpus mask
1711-
* @tmp: temparary masks
1711+
* @tmp: temporary masks
17121712
*
17131713
* top_cpuset and subpartitions_cpus will be updated or partition can be
17141714
* invalidated.
@@ -1750,7 +1750,7 @@ static void remote_cpus_update(struct cpuset *cs, struct cpumask *newmask,
17501750
update_unbound_workqueue_cpumask(isolcpus_updated);
17511751

17521752
/*
1753-
* Proprogate changes in top_cpuset's effective_cpus down the hierarchy.
1753+
* Propagate changes in top_cpuset's effective_cpus down the hierarchy.
17541754
*/
17551755
update_tasks_cpumask(&top_cpuset, tmp->new_cpus);
17561756
update_sibling_cpumasks(&top_cpuset, NULL, tmp);
@@ -1765,7 +1765,7 @@ static void remote_cpus_update(struct cpuset *cs, struct cpumask *newmask,
17651765
* @cs: the cpuset to be updated
17661766
* @newmask: the new effective_xcpus mask
17671767
* @delmask: temporary mask for deletion (not in tmp)
1768-
* @tmp: temparary masks
1768+
* @tmp: temporary masks
17691769
*
17701770
* This should be called before the given cs has updated its cpus_allowed
17711771
* and/or effective_xcpus.
@@ -2491,7 +2491,7 @@ static int update_cpumask(struct cpuset *cs, struct cpuset *trialcs,
24912491
return -EINVAL;
24922492

24932493
/*
2494-
* When exclusive_cpus isn't explicitly set, it is constrainted
2494+
* When exclusive_cpus isn't explicitly set, it is constrained
24952495
* by cpus_allowed and parent's effective_xcpus. Otherwise,
24962496
* trialcs->effective_xcpus is used as a temporary cpumask
24972497
* for checking validity of the partition root.

0 commit comments

Comments
 (0)