mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] workqueue: doc: Fix function and sysfs path errors
@ 2023-10-12  7:17 WangJinchao
  2023-10-12 17:27 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: WangJinchao @ 2023-10-12  7:17 UTC (permalink / raw)
  To: Tejun Heo, Lai Jiangshan, Jonathan Corbet, linux-doc, linux-kernel
  Cc: stone.xulei

alloc_ordered_queue -> alloc_ordered_workqueue
/sys/devices/virtual/WQ_NAME/
    -> /sys/devices/virtual/workqueue/WQ_NAME/

Signed-off-by: WangJinchao <wangjinchao@xfusion.com>
---
 Documentation/core-api/workqueue.rst                    | 4 ++--
 Documentation/translations/zh_CN/core-api/workqueue.rst | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/core-api/workqueue.rst b/Documentation/core-api/workqueue.rst
index 5d7b01aed1fe..0046af06531a 100644
--- a/Documentation/core-api/workqueue.rst
+++ b/Documentation/core-api/workqueue.rst
@@ -244,7 +244,7 @@ unbound worker-pools and only one work item could be active at any given
 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
+ST behavior within a given NUMA node. Instead ``alloc_ordered_workqueue()`` should
 be used to achieve system-wide ST behavior.
 
 
@@ -390,7 +390,7 @@ The default affinity scope can be changed with the module parameter
 scope can be changed using ``apply_workqueue_attrs()``.
 
 If ``WQ_SYSFS`` is set, the workqueue will have the following affinity scope
-related interface files under its ``/sys/devices/virtual/WQ_NAME/``
+related interface files under its ``/sys/devices/virtual/workqueue/WQ_NAME/``
 directory.
 
 ``affinity_scope``
diff --git a/Documentation/translations/zh_CN/core-api/workqueue.rst b/Documentation/translations/zh_CN/core-api/workqueue.rst
index 6c1b5ec31d75..7fac6f75d078 100644
--- a/Documentation/translations/zh_CN/core-api/workqueue.rst
+++ b/Documentation/translations/zh_CN/core-api/workqueue.rst
@@ -202,7 +202,7 @@ workqueue将自动创建与属性相匹配的后备工作者池。调节并发
 同的排序属性。
 
 在目前的实现中,上述配置只保证了特定NUMA节点内的ST行为。相反,
-``alloc_ordered_queue()`` 应该被用来实现全系统的ST行为。
+``alloc_ordered_workqueue()`` 应该被用来实现全系统的ST行为。
 
 
 执行场景示例
-- 
2.40.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] workqueue: doc: Fix function and sysfs path errors
  2023-10-12  7:17 [PATCH] workqueue: doc: Fix function and sysfs path errors WangJinchao
@ 2023-10-12 17:27 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2023-10-12 17:27 UTC (permalink / raw)
  To: WangJinchao
  Cc: Lai Jiangshan, Jonathan Corbet, linux-doc, linux-kernel, stone.xulei

On Thu, Oct 12, 2023 at 03:17:38PM +0800, WangJinchao wrote:
> alloc_ordered_queue -> alloc_ordered_workqueue
> /sys/devices/virtual/WQ_NAME/
>     -> /sys/devices/virtual/workqueue/WQ_NAME/
> 
> Signed-off-by: WangJinchao <wangjinchao@xfusion.com>

Applied to wq/for-6.6-fixes.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-12 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-12  7:17 [PATCH] workqueue: doc: Fix function and sysfs path errors WangJinchao
2023-10-12 17:27 ` 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®