From nobody Thu Dec 18 10:17:43 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 901E2CDB46E for ; Thu, 12 Oct 2023 07:17:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377551AbjJLHRw (ORCPT ); Thu, 12 Oct 2023 03:17:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343577AbjJLHRv (ORCPT ); Thu, 12 Oct 2023 03:17:51 -0400 Received: from wxsgout04.xfusion.com (wxsgout03.xfusion.com [36.139.52.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ECD7B8 for ; Thu, 12 Oct 2023 00:17:47 -0700 (PDT) Received: from wuxshcsitd00600.xfusion.com (unknown [10.32.133.213]) by wxsgout04.xfusion.com (SkyGuard) with ESMTPS id 4S5grq462nz9xgXl; Thu, 12 Oct 2023 15:15:23 +0800 (CST) Received: from localhost (10.82.147.3) by wuxshcsitd00600.xfusion.com (10.32.133.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 12 Oct 2023 15:17:38 +0800 Date: Thu, 12 Oct 2023 15:17:38 +0800 From: WangJinchao To: Tejun Heo , Lai Jiangshan , Jonathan Corbet , , CC: Subject: [PATCH] workqueue: doc: Fix function and sysfs path errors Message-ID: <202310121517+0800-wangjinchao@xfusion.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.82.147.3] X-ClientProxiedBy: wuxshcsitd00600.xfusion.com (10.32.133.213) To wuxshcsitd00600.xfusion.com (10.32.133.213) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org alloc_ordered_queue -> alloc_ordered_workqueue /sys/devices/virtual/WQ_NAME/ -> /sys/devices/virtual/workqueue/WQ_NAME/ Signed-off-by: WangJinchao --- 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 ac= tive at any given time thus achieving the same ordering property as ST wq. =20 In the current implementation the above configuration only guarantees -ST behavior within a given NUMA node. Instead ``alloc_ordered_queue()`` sh= ould +ST behavior within a given NUMA node. Instead ``alloc_ordered_workqueue()`= ` should be used to achieve system-wide ST behavior. =20 =20 @@ -390,7 +390,7 @@ The default affinity scope can be changed with the modu= le parameter scope can be changed using ``apply_workqueue_attrs()``. =20 If ``WQ_SYSFS`` is set, the workqueue will have the following affinity sco= pe -related interface files under its ``/sys/devices/virtual/WQ_NAME/`` +related interface files under its ``/sys/devices/virtual/workqueue/WQ_NAME= /`` directory. =20 ``affinity_scope`` diff --git a/Documentation/translations/zh_CN/core-api/workqueue.rst b/Docu= mentation/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=E5=B0=86=E8=87=AA=E5=8A=A8=E5=88=9B=E5=BB=BA= =E4=B8=8E=E5=B1=9E=E6=80=A7=E7=9B=B8=E5=8C=B9=E9=85=8D=E7=9A=84=E5=90=8E=E5= =A4=87=E5=B7=A5=E4=BD=9C=E8=80=85=E6=B1=A0=E3=80=82=E8=B0=83=E8=8A=82=E5=B9= =B6=E5=8F=91 =E5=90=8C=E7=9A=84=E6=8E=92=E5=BA=8F=E5=B1=9E=E6=80=A7=E3=80=82 =20 =E5=9C=A8=E7=9B=AE=E5=89=8D=E7=9A=84=E5=AE=9E=E7=8E=B0=E4=B8=AD=EF=BC=8C= =E4=B8=8A=E8=BF=B0=E9=85=8D=E7=BD=AE=E5=8F=AA=E4=BF=9D=E8=AF=81=E4=BA=86=E7= =89=B9=E5=AE=9ANUMA=E8=8A=82=E7=82=B9=E5=86=85=E7=9A=84ST=E8=A1=8C=E4=B8=BA= =E3=80=82=E7=9B=B8=E5=8F=8D=EF=BC=8C -``alloc_ordered_queue()`` =E5=BA=94=E8=AF=A5=E8=A2=AB=E7=94=A8=E6=9D=A5=E5= =AE=9E=E7=8E=B0=E5=85=A8=E7=B3=BB=E7=BB=9F=E7=9A=84ST=E8=A1=8C=E4=B8=BA=E3= =80=82 +``alloc_ordered_workqueue()`` =E5=BA=94=E8=AF=A5=E8=A2=AB=E7=94=A8=E6=9D= =A5=E5=AE=9E=E7=8E=B0=E5=85=A8=E7=B3=BB=E7=BB=9F=E7=9A=84ST=E8=A1=8C=E4=B8= =BA=E3=80=82 =20 =20 =E6=89=A7=E8=A1=8C=E5=9C=BA=E6=99=AF=E7=A4=BA=E4=BE=8B --=20 2.40.0