Skip to content

Commit 95a616d

Browse files
everestkchtejun
authored andcommitted
cgroup/cpuset: Fix spelling errors in file kernel/cgroup/cpuset.c
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]>
1 parent 9852d85 commit 95a616d

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
@@ -1339,7 +1339,7 @@ static inline bool is_local_partition(struct cpuset *cs)
13391339
* remote_partition_enable - Enable current cpuset as a remote partition root
13401340
* @cs: the cpuset to update
13411341
* @new_prs: new partition_root_state
1342-
* @tmp: temparary masks
1342+
* @tmp: temporary masks
13431343
* Return: 0 if successful, errcode if error
13441344
*
13451345
* Enable the current cpuset to become a remote partition root taking CPUs
@@ -1377,7 +1377,7 @@ static int remote_partition_enable(struct cpuset *cs, int new_prs,
13771377
update_unbound_workqueue_cpumask(isolcpus_updated);
13781378

13791379
/*
1380-
* Proprogate changes in top_cpuset's effective_cpus down the hierarchy.
1380+
* Propagate changes in top_cpuset's effective_cpus down the hierarchy.
13811381
*/
13821382
cpuset_update_tasks_cpumask(&top_cpuset, tmp->new_cpus);
13831383
update_sibling_cpumasks(&top_cpuset, NULL, tmp);
@@ -1387,7 +1387,7 @@ static int remote_partition_enable(struct cpuset *cs, int new_prs,
13871387
/*
13881388
* remote_partition_disable - Remove current cpuset from remote partition list
13891389
* @cs: the cpuset to update
1390-
* @tmp: temparary masks
1390+
* @tmp: temporary masks
13911391
*
13921392
* The effective_cpus is also updated.
13931393
*
@@ -1413,7 +1413,7 @@ static void remote_partition_disable(struct cpuset *cs, struct tmpmasks *tmp)
14131413
update_unbound_workqueue_cpumask(isolcpus_updated);
14141414

14151415
/*
1416-
* Proprogate changes in top_cpuset's effective_cpus down the hierarchy.
1416+
* Propagate changes in top_cpuset's effective_cpus down the hierarchy.
14171417
*/
14181418
cpuset_update_tasks_cpumask(&top_cpuset, tmp->new_cpus);
14191419
update_sibling_cpumasks(&top_cpuset, NULL, tmp);
@@ -1423,7 +1423,7 @@ static void remote_partition_disable(struct cpuset *cs, struct tmpmasks *tmp)
14231423
* remote_cpus_update - cpus_exclusive change of remote partition
14241424
* @cs: the cpuset to be updated
14251425
* @newmask: the new effective_xcpus mask
1426-
* @tmp: temparary masks
1426+
* @tmp: temporary masks
14271427
*
14281428
* top_cpuset and subpartitions_cpus will be updated or partition can be
14291429
* invalidated.
@@ -1465,7 +1465,7 @@ static void remote_cpus_update(struct cpuset *cs, struct cpumask *newmask,
14651465
update_unbound_workqueue_cpumask(isolcpus_updated);
14661466

14671467
/*
1468-
* Proprogate changes in top_cpuset's effective_cpus down the hierarchy.
1468+
* Propagate changes in top_cpuset's effective_cpus down the hierarchy.
14691469
*/
14701470
cpuset_update_tasks_cpumask(&top_cpuset, tmp->new_cpus);
14711471
update_sibling_cpumasks(&top_cpuset, NULL, tmp);
@@ -1480,7 +1480,7 @@ static void remote_cpus_update(struct cpuset *cs, struct cpumask *newmask,
14801480
* @cs: the cpuset to be updated
14811481
* @newmask: the new effective_xcpus mask
14821482
* @delmask: temporary mask for deletion (not in tmp)
1483-
* @tmp: temparary masks
1483+
* @tmp: temporary masks
14841484
*
14851485
* This should be called before the given cs has updated its cpus_allowed
14861486
* and/or effective_xcpus.
@@ -2206,7 +2206,7 @@ static int update_cpumask(struct cpuset *cs, struct cpuset *trialcs,
22062206
return -EINVAL;
22072207

22082208
/*
2209-
* When exclusive_cpus isn't explicitly set, it is constrainted
2209+
* When exclusive_cpus isn't explicitly set, it is constrained
22102210
* by cpus_allowed and parent's effective_xcpus. Otherwise,
22112211
* trialcs->effective_xcpus is used as a temporary cpumask
22122212
* for checking validity of the partition root.

0 commit comments

Comments
 (0)