* [PATCH] kernel:workqueue - Fix typos in comments.
@ 2015-05-23 5:08 Shailendra Verma
2015-05-24 20:54 ` Tejun Heo
2015-05-29 0:06 ` Randy Dunlap
0 siblings, 2 replies; 4+ messages in thread
From: Shailendra Verma @ 2015-05-23 5:08 UTC (permalink / raw)
To: Tejun Heo; +Cc: linux-kernel, Shailendra Verma
Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
---
kernel/workqueue.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 586ad91..17d3021 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -976,7 +976,7 @@ static struct worker *find_worker_executing_work(struct worker_pool *pool,
* move_linked_works - move linked works to a list
* @work: start of series of works to be scheduled
* @head: target list to append @work to
- * @nextp: out paramter for nested worklist walking
+ * @nextp: out parameter for nested worklist walking
*
* Schedule linked works starting from @work to @head. Work series to
* be scheduled starts at @work and includes any consecutive work with
@@ -2616,7 +2616,7 @@ EXPORT_SYMBOL_GPL(flush_workqueue);
* Wait until the workqueue becomes empty. While draining is in progress,
* only chain queueing is allowed. IOW, only currently pending or running
* work items on @wq can queue further work items on it. @wq is flushed
- * repeatedly until it becomes empty. The number of flushing is detemined
+ * repeatedly until it becomes empty. The number of flushing is determined
* by the depth of chaining and should be relatively short. Whine if it
* takes too long.
*/
@@ -3081,7 +3081,7 @@ static bool wqattrs_equal(const struct workqueue_attrs *a,
* init_worker_pool - initialize a newly zalloc'd worker_pool
* @pool: worker_pool to initialize
*
- * Initiailize a newly zalloc'd @pool. It also allocates @pool->attrs.
+ * Initialize a newly zalloc'd @pool. It also allocates @pool->attrs.
*
* Return: 0 on success, -errno on failure. Even on failure, all fields
* inside @pool proper are initialized and put_unbound_pool() can be called
@@ -4385,7 +4385,7 @@ static void rebind_workers(struct worker_pool *pool)
/*
* Restore CPU affinity of all workers. As all idle workers should
* be on the run-queue of the associated CPU before any local
- * wake-ups for concurrency management happen, restore CPU affinty
+ * wake-ups for concurrency management happen, restore CPU affinity
* of all workers first and then clear UNBOUND. As we're called
* from CPU_ONLINE, the following shouldn't fail.
*/
@@ -4948,7 +4948,7 @@ int workqueue_sysfs_register(struct workqueue_struct *wq)
int ret;
/*
- * Adjusting max_active or creating new pwqs by applyting
+ * Adjusting max_active or creating new pwqs by applying
* attributes breaks ordering guarantee. Disallow exposing ordered
* workqueues.
*/
@@ -5047,7 +5047,7 @@ static void __init wq_numa_init(void)
node = cpu_to_node(cpu);
if (WARN_ON(node == NUMA_NO_NODE)) {
pr_warn("workqueue: NUMA node mapping not available for cpu%d, disabling NUMA support\n", cpu);
- /* happens iff arch is bonkers, let's just proceed */
+ /* happens if arch is bonkers, let's just proceed */
return;
}
cpumask_set_cpu(cpu, tbl[node]);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] kernel:workqueue - Fix typos in comments.
2015-05-23 5:08 [PATCH] kernel:workqueue - Fix typos in comments Shailendra Verma
@ 2015-05-24 20:54 ` Tejun Heo
2015-05-29 0:06 ` Randy Dunlap
1 sibling, 0 replies; 4+ messages in thread
From: Tejun Heo @ 2015-05-24 20:54 UTC (permalink / raw)
To: Shailendra Verma; +Cc: linux-kernel
One hunk was already fixed. Applied the rest to wq/for-4.2.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] kernel:workqueue - Fix typos in comments.
2015-05-23 5:08 [PATCH] kernel:workqueue - Fix typos in comments Shailendra Verma
2015-05-24 20:54 ` Tejun Heo
@ 2015-05-29 0:06 ` Randy Dunlap
2015-05-29 13:22 ` Tejun Heo
1 sibling, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2015-05-29 0:06 UTC (permalink / raw)
To: Shailendra Verma, Tejun Heo; +Cc: linux-kernel
On 05/22/15 22:08, Shailendra Verma wrote:
> Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
> ---
> kernel/workqueue.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/kernel/workqueue.c b/kernel/workqueue.c
> index 586ad91..17d3021 100644
> --- a/kernel/workqueue.c
> +++ b/kernel/workqueue.c
> @@ -5047,7 +5047,7 @@ static void __init wq_numa_init(void)
> node = cpu_to_node(cpu);
> if (WARN_ON(node == NUMA_NO_NODE)) {
> pr_warn("workqueue: NUMA node mapping not available for cpu%d, disabling NUMA support\n", cpu);
> - /* happens iff arch is bonkers, let's just proceed */
> + /* happens if arch is bonkers, let's just proceed */
not a typo.
> return;
> }
> cpumask_set_cpu(cpu, tbl[node]);
>
--
~Randy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] kernel:workqueue - Fix typos in comments.
2015-05-29 0:06 ` Randy Dunlap
@ 2015-05-29 13:22 ` Tejun Heo
0 siblings, 0 replies; 4+ messages in thread
From: Tejun Heo @ 2015-05-29 13:22 UTC (permalink / raw)
To: Randy Dunlap; +Cc: Shailendra Verma, linux-kernel
On Thu, May 28, 2015 at 05:06:10PM -0700, Randy Dunlap wrote:
> On 05/22/15 22:08, Shailendra Verma wrote:
> > Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
> > ---
> > kernel/workqueue.c | 12 ++++++------
> > 1 file changed, 6 insertions(+), 6 deletions(-)
> >
> > diff --git a/kernel/workqueue.c b/kernel/workqueue.c
> > index 586ad91..17d3021 100644
> > --- a/kernel/workqueue.c
> > +++ b/kernel/workqueue.c
>
> > @@ -5047,7 +5047,7 @@ static void __init wq_numa_init(void)
> > node = cpu_to_node(cpu);
> > if (WARN_ON(node == NUMA_NO_NODE)) {
> > pr_warn("workqueue: NUMA node mapping not available for cpu%d, disabling NUMA support\n", cpu);
> > - /* happens iff arch is bonkers, let's just proceed */
> > + /* happens if arch is bonkers, let's just proceed */
>
> not a typo.
Right, patch updated.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-05-29 13:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-23 5:08 [PATCH] kernel:workqueue - Fix typos in comments Shailendra Verma
2015-05-24 20:54 ` Tejun Heo
2015-05-29 0:06 ` Randy Dunlap
2015-05-29 13:22 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).