* [PATCH] Documentation: core-api: minor workqueue.rst cleanups
@ 2017-09-18 20:10 Randy Dunlap
2017-09-19 0:30 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2017-09-18 20:10 UTC (permalink / raw)
To: LKML, linux-doc, Jonathan Corbet; +Cc: Tejun Heo, Florian Mickler
From: Randy Dunlap <rdunlap@infradead.org>
Clean up workqueue.rst:
- fix minor typos
- put '@' after `` instead of preceding them (one place)
- use "CPU" instead of "cpu" in text consistently
- quote one function name
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Florian Mickler <florian@mickler.org>
---
Documentation/core-api/workqueue.rst | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
--- lnx-414-rc1.orig/Documentation/core-api/workqueue.rst
+++ lnx-414-rc1/Documentation/core-api/workqueue.rst
@@ -39,8 +39,8 @@ up.
Although MT wq wasted a lot of resource, the level of concurrency
provided was unsatisfactory. The limitation was common to both ST and
MT wq albeit less severe on MT. Each wq maintained its own separate
-worker pool. A MT wq could provide only one execution context per CPU
-while a ST wq one for the whole system. Work items had to compete for
+worker pool. An MT wq could provide only one execution context per CPU
+while an ST wq one for the whole system. Work items had to compete for
those very limited execution contexts leading to various problems
including proneness to deadlocks around the single execution context.
@@ -151,7 +151,7 @@ Application Programming Interface (API)
``alloc_workqueue()`` allocates a wq. The original
``create_*workqueue()`` functions are deprecated and scheduled for
-removal. ``alloc_workqueue()`` takes three arguments - @``name``,
+removal. ``alloc_workqueue()`` takes three arguments - ``@name``,
``@flags`` and ``@max_active``. ``@name`` is the name of the wq and
also used as the name of the rescuer thread if there is one.
@@ -197,7 +197,7 @@ resources, scheduled and executed.
served by worker threads with elevated nice level.
Note that normal and highpri worker-pools don't interact with
- each other. Each maintain its separate pool of workers and
+ each other. Each maintains its separate pool of workers and
implements concurrency management among its workers.
``WQ_CPU_INTENSIVE``
@@ -249,8 +249,8 @@ unbound worker-pools and only one work i
time thus achieving the same ordering property as ST wq.
In the current implementation the above configuration only guarantees
-ST behavior within a given NUMA node. Instead alloc_ordered_queue should
-be used to achieve system wide ST behavior.
+ST behavior within a given NUMA node. Instead ``alloc_ordered_queue()`` should
+be used to achieve system-wide ST behavior.
Example Execution Scenarios
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Documentation: core-api: minor workqueue.rst cleanups
2017-09-18 20:10 [PATCH] Documentation: core-api: minor workqueue.rst cleanups Randy Dunlap
@ 2017-09-19 0:30 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2017-09-19 0:30 UTC (permalink / raw)
To: Randy Dunlap; +Cc: LKML, linux-doc, Jonathan Corbet, Florian Mickler
On Mon, Sep 18, 2017 at 01:10:15PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Clean up workqueue.rst:
> - fix minor typos
> - put '@' after `` instead of preceding them (one place)
> - use "CPU" instead of "cpu" in text consistently
> - quote one function name
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Tejun Heo <tj@kernel.org>
> Cc: Florian Mickler <florian@mickler.org>
Applied to wq/for-4.14-fixes.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-19 0:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-18 20:10 [PATCH] Documentation: core-api: minor workqueue.rst cleanups Randy Dunlap
2017-09-19 0:30 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome