From patchwork Wed Oct 25 14:09:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uladzislau Rezki X-Patchwork-Id: 158118 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2628815vqx; Wed, 25 Oct 2023 07:10:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFIVbA2ApQ/LC0Jq3j5coTaRlwGOtydEIVLIEjt2dX/95S++4YhHjiVL2eVAKski9TWSm91 X-Received: by 2002:a1f:2413:0:b0:496:b3b7:5d4c with SMTP id k19-20020a1f2413000000b00496b3b75d4cmr9181768vkk.16.1698243006059; Wed, 25 Oct 2023 07:10:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698243006; cv=none; d=google.com; s=arc-20160816; b=QmBOPU/Fif2ItnbhvCGkaLk5YvqD7JS3h3f9KPNKel42KpFXo+mEapfr6fnyskXFby xqmmCJXXy0nKSCTgku3Oo/5ntyybW33o7An0kuzPcScXL6lmB8LVmJrxVXyGUrVGq5zB H28dXA+9b1QCKq7yxEHVu+D8JjQUyKzxSUjHDVTI0RPNKRuDozTqeiCDlaoGiTkztn0+ BA99QNTVnm7txx/lzpWDQBSXvFc+TbSw0JHEtKWFSCSbfrLCljUhFcsPDJsRtf8cN6cv TzCWBrtnjJNadodsQwW5RcNloou63hiyTbAhDfix5XJCcvb6l7huecY/1XWwXYb6bEXW teAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kH2SzlXV0J1R/rkJlHdBb1iPR68EpEWsCPbBxpCRKIE=; fh=4iZcRCmzpaCZKgp7nvxh/m3AX3kfm//yPbGO/jIXleI=; b=CGpRsWZm6t6zzHhlywjwpXpk+fX03dKXjAjBv8NVaXv96B/tbX03rPH0i15iCSbrTa E25rQ0LNc6g0X63QLpj4xj49bdD+oIlDpb5yKpjGH6InUeFpulX9QVod7vqtLeVoeNIE BpbtzQHYxBS+D6UXkB3bnepjOedgOg5lcw+ccYF6bzBDP/bUtmUbSNOoLE5LQzbt7k3l /KdI/DjO/6cxTF/maC9rNH3IvOiS+QOh/eHvM4xLeAQx6tcOB1lopNfVsNFsLtZp++ku 7A6ScKOr/6c1hxXIfqcyBRPJ1xFSAmhViZrGwmrdrua3hQNDt9UiA1c6/oWxirtBakNZ nU2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UGT24DF9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id w188-20020a1f94c5000000b0049d1a631709si1460582vkd.35.2023.10.25.07.10.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 07:10:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UGT24DF9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 4CEEF80F61A6; Wed, 25 Oct 2023 07:09:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344815AbjJYOJ2 (ORCPT + 26 others); Wed, 25 Oct 2023 10:09:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344639AbjJYOJZ (ORCPT ); Wed, 25 Oct 2023 10:09:25 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD73018A; Wed, 25 Oct 2023 07:09:22 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-508126afb9bso1752334e87.0; Wed, 25 Oct 2023 07:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698242961; x=1698847761; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kH2SzlXV0J1R/rkJlHdBb1iPR68EpEWsCPbBxpCRKIE=; b=UGT24DF9t1jtKOXD0m5KmLlMjjZUlmZips6OnNlV92AHhVo1AOSVOkM0hqNfhQydA7 ELwTZDFuk6rqzn7hPFrRoc5QZxkinpqGwk8l+Gm9kTlV+1E3WTEZFFGNmXJiAMdeRhB1 O6ABhSjbf/1uHSw3FCr4y8Ag2BzvZNxlbVEY0h/H4GJATkxz1NNq1hiBUu4zKxIK06EM OYmc33Kv1ydUwEYuURaVVHAPPKhFYjyO9hF8koLWcDACqK4wHHmkzQdbTPjgYlRPvzuI dx6flrz3wnPS6owNsuY3Tio+LQ3Bj8slxKc+JkAulpSUAiUKYFsqRMS045LFiI+hju8j PaEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698242961; x=1698847761; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kH2SzlXV0J1R/rkJlHdBb1iPR68EpEWsCPbBxpCRKIE=; b=BlBYS1cPagxjdBG/lMQH2hHrjEN9K5vwDyY7OMVm0ySk1F/wMXBD0L8Vo1OpuX0bHd 1FrthcormjGgVA38a83jS7MJoj2EWoXYo3lKWS6MOswOpbViWswbrNdt0GFQFHt645w6 +IBNYW/gWW+nVN9JGYtl+PX+ZnXMEsRmpRpBxybq01533iv3eMtxdCl2drDW1vNMUw6g UVvKVkl40/DX5QuxlLe8udxzfKTB4N/a8QCmDW2d0fsaKWV/hRfLPAa4LhuBksef/ljZ tnKA0jaCDxxRI41QSqwO6GTWODQtPa4P8Mrp8lBUjQgIKRilb+YP8OCoPRaim+7NDdkL +G2A== X-Gm-Message-State: AOJu0YzaZADzrekP5DR8b2Dwj+v/jvDlb7HezlnBO5PFUwlnFd6vEKgB 6NA46G53ABrKgg7req6BYo8= X-Received: by 2002:a05:6512:314e:b0:507:9702:c11d with SMTP id s14-20020a056512314e00b005079702c11dmr9580249lfi.64.1698242960848; Wed, 25 Oct 2023 07:09:20 -0700 (PDT) Received: from pc638.lan ([155.137.26.201]) by smtp.gmail.com with ESMTPSA id o8-20020ac24e88000000b00507977e9a38sm2555680lfr.35.2023.10.25.07.09.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 07:09:20 -0700 (PDT) From: "Uladzislau Rezki (Sony)" To: "Paul E . McKenney" Cc: RCU , Neeraj upadhyay , Boqun Feng , Hillf Danton , Joel Fernandes , LKML , Uladzislau Rezki , Oleksiy Avramchenko , Frederic Weisbecker Subject: [PATCH 3/3] doc: Add rcutree.rcu_normal_wake_from_gp to kernel-parameters.txt Date: Wed, 25 Oct 2023 16:09:15 +0200 Message-Id: <20231025140915.590390-4-urezki@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231025140915.590390-1-urezki@gmail.com> References: <20231025140915.590390-1-urezki@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 25 Oct 2023 07:09:56 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780736858690129907 X-GMAIL-MSGID: 1780736858690129907 This commit adds rcutree.rcu_normal_wake_from_gp description to the kernel-parameters.txt file. Signed-off-by: Uladzislau Rezki (Sony) --- Documentation/admin-guide/kernel-parameters.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 03a4bdb7512b..f41bcf17ff58 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -5009,6 +5009,18 @@ this kernel boot parameter, forcibly setting it to zero. + rcutree.rcu_normal_wake_from_gp= [KNL] + Reduces a latency of synchronize_rcu() call. This approach + maintains its own track of synchronize_rcu() callers, so it + does not interact with regular callbacks because it does not + use a call_rcu[_hurry]() path. + + Please note, the rcu_normal_wake_from_gp parameter takes effect + if the rcupdate.rcu_normal is active also. + + Faster version is preferred set to 1. + Default is 0. + rcuscale.gp_async= [KNL] Measure performance of asynchronous grace-period primitives such as call_rcu().