* [PATCH] Fix spelling errors in file kernel/cgroup/cpuset.c
@ 2024-09-15 8:29 Everest K.C.
2024-09-15 16:38 ` Waiman Long
2024-09-30 19:01 ` Tejun Heo
0 siblings, 2 replies; 3+ messages in thread
From: Everest K.C. @ 2024-09-15 8:29 UTC (permalink / raw)
To: longman, lizefan.x, tj, hannes, mkoutny; +Cc: everestkc, cgroups, linux-kernel
From: everestkc <everestkc@everestkc.com.np>
Corrected the spelling errors repoted by codespell as follows:
temparary ==> temporary
Proprogate ==> Propagate
constrainted ==> constrained
Signed-off-by: Everest K.C. <everestkc@everestkc.com.np>
---
kernel/cgroup/cpuset.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c
index 40ec4abaf440..205aabcd95f6 100644
--- a/kernel/cgroup/cpuset.c
+++ b/kernel/cgroup/cpuset.c
@@ -1654,7 +1654,7 @@ static inline bool is_local_partition(struct cpuset *cs)
* remote_partition_enable - Enable current cpuset as a remote partition root
* @cs: the cpuset to update
* @new_prs: new partition_root_state
- * @tmp: temparary masks
+ * @tmp: temporary masks
* Return: 1 if successful, 0 if error
*
* Enable the current cpuset to become a remote partition root taking CPUs
@@ -1698,7 +1698,7 @@ static int remote_partition_enable(struct cpuset *cs, int new_prs,
update_unbound_workqueue_cpumask(isolcpus_updated);
/*
- * Proprogate changes in top_cpuset's effective_cpus down the hierarchy.
+ * Propagate changes in top_cpuset's effective_cpus down the hierarchy.
*/
update_tasks_cpumask(&top_cpuset, tmp->new_cpus);
update_sibling_cpumasks(&top_cpuset, NULL, tmp);
@@ -1708,7 +1708,7 @@ static int remote_partition_enable(struct cpuset *cs, int new_prs,
/*
* remote_partition_disable - Remove current cpuset from remote partition list
* @cs: the cpuset to update
- * @tmp: temparary masks
+ * @tmp: temporary masks
*
* The effective_cpus is also updated.
*
@@ -1734,7 +1734,7 @@ static void remote_partition_disable(struct cpuset *cs, struct tmpmasks *tmp)
update_unbound_workqueue_cpumask(isolcpus_updated);
/*
- * Proprogate changes in top_cpuset's effective_cpus down the hierarchy.
+ * Propagate changes in top_cpuset's effective_cpus down the hierarchy.
*/
update_tasks_cpumask(&top_cpuset, tmp->new_cpus);
update_sibling_cpumasks(&top_cpuset, NULL, tmp);
@@ -1744,7 +1744,7 @@ static void remote_partition_disable(struct cpuset *cs, struct tmpmasks *tmp)
* remote_cpus_update - cpus_exclusive change of remote partition
* @cs: the cpuset to be updated
* @newmask: the new effective_xcpus mask
- * @tmp: temparary masks
+ * @tmp: temporary masks
*
* top_cpuset and subpartitions_cpus will be updated or partition can be
* invalidated.
@@ -1786,7 +1786,7 @@ static void remote_cpus_update(struct cpuset *cs, struct cpumask *newmask,
update_unbound_workqueue_cpumask(isolcpus_updated);
/*
- * Proprogate changes in top_cpuset's effective_cpus down the hierarchy.
+ * Propagate changes in top_cpuset's effective_cpus down the hierarchy.
*/
update_tasks_cpumask(&top_cpuset, tmp->new_cpus);
update_sibling_cpumasks(&top_cpuset, NULL, tmp);
@@ -1801,7 +1801,7 @@ static void remote_cpus_update(struct cpuset *cs, struct cpumask *newmask,
* @cs: the cpuset to be updated
* @newmask: the new effective_xcpus mask
* @delmask: temporary mask for deletion (not in tmp)
- * @tmp: temparary masks
+ * @tmp: temporary masks
*
* This should be called before the given cs has updated its cpus_allowed
* and/or effective_xcpus.
@@ -2534,7 +2534,7 @@ static int update_cpumask(struct cpuset *cs, struct cpuset *trialcs,
return -EINVAL;
/*
- * When exclusive_cpus isn't explicitly set, it is constrainted
+ * When exclusive_cpus isn't explicitly set, it is constrained
* by cpus_allowed and parent's effective_xcpus. Otherwise,
* trialcs->effective_xcpus is used as a temporary cpumask
* for checking validity of the partition root.
--
2.43.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix spelling errors in file kernel/cgroup/cpuset.c
2024-09-15 8:29 [PATCH] Fix spelling errors in file kernel/cgroup/cpuset.c Everest K.C.
@ 2024-09-15 16:38 ` Waiman Long
2024-09-30 19:01 ` Tejun Heo
1 sibling, 0 replies; 3+ messages in thread
From: Waiman Long @ 2024-09-15 16:38 UTC (permalink / raw)
To: Everest K.C., lizefan.x, tj, hannes, mkoutny; +Cc: cgroups, linux-kernel
On 9/15/24 04:29, Everest K.C. wrote:
> From: everestkc <everestkc@everestkc.com.np>
>
> Corrected the spelling errors repoted by codespell as follows:
> temparary ==> temporary
> Proprogate ==> Propagate
> constrainted ==> constrained
>
> Signed-off-by: Everest K.C. <everestkc@everestkc.com.np>
> ---
> kernel/cgroup/cpuset.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c
> index 40ec4abaf440..205aabcd95f6 100644
> --- a/kernel/cgroup/cpuset.c
> +++ b/kernel/cgroup/cpuset.c
> @@ -1654,7 +1654,7 @@ static inline bool is_local_partition(struct cpuset *cs)
> * remote_partition_enable - Enable current cpuset as a remote partition root
> * @cs: the cpuset to update
> * @new_prs: new partition_root_state
> - * @tmp: temparary masks
> + * @tmp: temporary masks
> * Return: 1 if successful, 0 if error
> *
> * Enable the current cpuset to become a remote partition root taking CPUs
> @@ -1698,7 +1698,7 @@ static int remote_partition_enable(struct cpuset *cs, int new_prs,
> update_unbound_workqueue_cpumask(isolcpus_updated);
>
> /*
> - * Proprogate changes in top_cpuset's effective_cpus down the hierarchy.
> + * Propagate changes in top_cpuset's effective_cpus down the hierarchy.
> */
> update_tasks_cpumask(&top_cpuset, tmp->new_cpus);
> update_sibling_cpumasks(&top_cpuset, NULL, tmp);
> @@ -1708,7 +1708,7 @@ static int remote_partition_enable(struct cpuset *cs, int new_prs,
> /*
> * remote_partition_disable - Remove current cpuset from remote partition list
> * @cs: the cpuset to update
> - * @tmp: temparary masks
> + * @tmp: temporary masks
> *
> * The effective_cpus is also updated.
> *
> @@ -1734,7 +1734,7 @@ static void remote_partition_disable(struct cpuset *cs, struct tmpmasks *tmp)
> update_unbound_workqueue_cpumask(isolcpus_updated);
>
> /*
> - * Proprogate changes in top_cpuset's effective_cpus down the hierarchy.
> + * Propagate changes in top_cpuset's effective_cpus down the hierarchy.
> */
> update_tasks_cpumask(&top_cpuset, tmp->new_cpus);
> update_sibling_cpumasks(&top_cpuset, NULL, tmp);
> @@ -1744,7 +1744,7 @@ static void remote_partition_disable(struct cpuset *cs, struct tmpmasks *tmp)
> * remote_cpus_update - cpus_exclusive change of remote partition
> * @cs: the cpuset to be updated
> * @newmask: the new effective_xcpus mask
> - * @tmp: temparary masks
> + * @tmp: temporary masks
> *
> * top_cpuset and subpartitions_cpus will be updated or partition can be
> * invalidated.
> @@ -1786,7 +1786,7 @@ static void remote_cpus_update(struct cpuset *cs, struct cpumask *newmask,
> update_unbound_workqueue_cpumask(isolcpus_updated);
>
> /*
> - * Proprogate changes in top_cpuset's effective_cpus down the hierarchy.
> + * Propagate changes in top_cpuset's effective_cpus down the hierarchy.
> */
> update_tasks_cpumask(&top_cpuset, tmp->new_cpus);
> update_sibling_cpumasks(&top_cpuset, NULL, tmp);
> @@ -1801,7 +1801,7 @@ static void remote_cpus_update(struct cpuset *cs, struct cpumask *newmask,
> * @cs: the cpuset to be updated
> * @newmask: the new effective_xcpus mask
> * @delmask: temporary mask for deletion (not in tmp)
> - * @tmp: temparary masks
> + * @tmp: temporary masks
> *
> * This should be called before the given cs has updated its cpus_allowed
> * and/or effective_xcpus.
> @@ -2534,7 +2534,7 @@ static int update_cpumask(struct cpuset *cs, struct cpuset *trialcs,
> return -EINVAL;
>
> /*
> - * When exclusive_cpus isn't explicitly set, it is constrainted
> + * When exclusive_cpus isn't explicitly set, it is constrained
> * by cpus_allowed and parent's effective_xcpus. Otherwise,
> * trialcs->effective_xcpus is used as a temporary cpumask
> * for checking validity of the partition root.
Acked-by: Waiman Long <longman@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix spelling errors in file kernel/cgroup/cpuset.c
2024-09-15 8:29 [PATCH] Fix spelling errors in file kernel/cgroup/cpuset.c Everest K.C.
2024-09-15 16:38 ` Waiman Long
@ 2024-09-30 19:01 ` Tejun Heo
1 sibling, 0 replies; 3+ messages in thread
From: Tejun Heo @ 2024-09-30 19:01 UTC (permalink / raw)
To: Everest K.C.; +Cc: longman, lizefan.x, hannes, mkoutny, cgroups, linux-kernel
On Sun, Sep 15, 2024 at 02:29:21AM -0600, Everest K.C. wrote:
> From: everestkc <everestkc@everestkc.com.np>
>
> Corrected the spelling errors repoted by codespell as follows:
> temparary ==> temporary
> Proprogate ==> Propagate
> constrainted ==> constrained
>
> Signed-off-by: Everest K.C. <everestkc@everestkc.com.np>
Applied to cgroup/for-6.13. The patch didn't apply cleanly and I applied
some of the edits manually.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-30 19:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-15 8:29 [PATCH] Fix spelling errors in file kernel/cgroup/cpuset.c Everest K.C.
2024-09-15 16:38 ` Waiman Long
2024-09-30 19:01 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®