kernel:workqueue - Fix typos in comments.
PATCH 1/1 kernel:workqueue - Fix typos in comments.
Signed-off-by Shailendra Verma <[email protected]>
--- kernel/workqueue.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
kernel/workqueue.c +6 -6
@@ -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]);
Signature · 1 line
1.7.9.5
Tejun Heo
maintainerOne hunk was already fixed. Applied the rest to wq/for-4.2.
Thanks.
Signature · 1 line
tejun
Quoted 11 lines · Shailendra Verma
Signed-off-by Shailendra Verma <[email protected]>--- kernel/workqueue.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)kernel/workqueue.c +0
-0
kernel/workqueue.c static void __init wq_numa_init(void) · line 5050
Quoted 5 lines
kernel/workqueue.c +1
-1@@ -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.
Quoted 4 lines
kernel/workqueue.c +0
-0return ; }cpumask_set_cpu (cpu, tbl[node]);
Signature · 1 line
~Randy
Tejun Heo
maintainerQuoted 11 lines · Randy Dunlap
Quoted 9 lines · Shailendra Verma
Signed-off-by Shailendra Verma <[email protected]>--- kernel/workqueue.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)kernel/workqueue.c +0
-0
Quoted 8 lines
kernel/workqueue.c static void __init wq_numa_init(void) · line 5050
Quoted 6 lines
kernel/workqueue.c +1
-1@@ -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.
Signature · 1 line
tejun