Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp127731rdg; Thu, 12 Oct 2023 00:18:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtD9kuc2JRTyFXkuHMT+m51ovDgVPJGKKvLilw0bS/m1o2RaA+5AcjYcHsy+i9b1+QRXtQ X-Received: by 2002:a05:6a20:da8b:b0:16c:1340:c621 with SMTP id iy11-20020a056a20da8b00b0016c1340c621mr22287934pzb.31.1697095088899; Thu, 12 Oct 2023 00:18:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697095088; cv=none; d=google.com; s=arc-20160816; b=SwIG42PpPsC8sduxVxwuJk1tJN9Sqfq99nb6g5ES9AulZbR/7+BgNG4/QmkP0yao/2 hUIzwf8yldNn37J8hM02wL9ey/Hw+3gYCPiElmjdVflGTgyaa1Zg2ck4slMYBuB8i7dy Ww5BPs4Eo43WKXxKT/KVt9L0LWcrbf3ETLppwuyw/cQNzT4CPZXzR6im9xfVQp6YE+eI qBT8XmjMEvqPWdRy86P44kQRAD8AU8RYQJ4JIWwfYenM/zbI68h1rIN6KhOdSeQiD5BJ DadSZck+xlRWPB0FIczh8VkXNscK9ivEe/CWUHggWZ5F6ajxPo7OqVg4oMAFS+r/1UO5 8MZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=C+uVnv0AWHpYQmVK/uYG/YRi2emOEtjpZfaXW69GzwI=; fh=uc9toMcjH72781W7OF/fR5ryePM0UI6iuzW++EqIdtU=; b=G99pI8mrkPigPwRUrAj0GR5KB0YdUjKarwvIC1zbL9VRdIAjv8SZQhYOucLcGwUNBW e6gpVpyOaDi79tBU2VEDW3rWL61KLpvW7uAsoRSxC4aMnsNvhPS49pNs9fYzYVGCLTF+ 2/2oymXa4cAs7WB1x6TnXd6pY4nWwpwerNgcA/B04A9ic80A32xB26z7uSxer7+QLG5k yTychhPwQR7+Rzo36NK2QUrkcZFdbCjL/3yjeXc4tfl9ccua6zSbmXm9B70kMQeCT+6v FJhetPpPF17FzoUPwfMlDEPugDDwaHxkFwm0TjG29GiPAF7IO13w9Ot7q638aeT53kEK 1MGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id mq2-20020a17090b380200b0027777ee6092si1815962pjb.161.2023.10.12.00.18.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 00:18:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 50A6B82265C1; Thu, 12 Oct 2023 00:18:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343620AbjJLHRw (ORCPT + 99 others); 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: 8bit X-Originating-IP: [10.82.147.3] X-ClientProxiedBy: wuxshcsitd00600.xfusion.com (10.32.133.213) To wuxshcsitd00600.xfusion.com (10.32.133.213) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 12 Oct 2023 00:18:06 -0700 (PDT) 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 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