From patchwork Mon Jul 17 18:04:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 12159 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1274450vqt; Mon, 17 Jul 2023 11:24:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlFYONgFwnRmkQ0upo3c4mLy4mscEJDLr0ehnn6/OhrJg8PBwgRsuKAsVnymKMs1B4sA+H8D X-Received: by 2002:a17:907:778c:b0:991:f489:3d24 with SMTP id ky12-20020a170907778c00b00991f4893d24mr10784825ejc.32.1689618278977; Mon, 17 Jul 2023 11:24:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689618278; cv=none; d=google.com; s=arc-20160816; b=sU5DDawS2S2VltUvR+LoDRld521KYXZEY8dQiCh7KFZTVlCD1ruL7JJ3Onj3QcM5AD AM1WTBRKasjybW+bNszCigflWz3vzCR92i5eBHno+s4ThJlB5dEeZvA3xcZnpZeUik0V EceY73eJhupWR/7HVHxKwme0X8X9Hsef39XLRCLvZIbQoozHCbTEhdKLeRK8Ar0pAqaz tkYzSLJ0xB/PDku8FVuGFpiPBSW261/f1x3rME24e5Lw4aWxF0WKWKnV4crK7ClSN6U+ 8hWB+cKoVOsMTOwtYbiVz8R1j0oEyx+7mM8Chrv8CkcusXSykTMVok+H9WDDGFaB7ID8 trmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=C30YoMO4JSBbO3thwisqCirtFhYnpOePRibFznROHAo=; fh=4Ax6M8yfdib5s4Mo8hkymO5N/GzErc/2IqDC41w0gCs=; b=hOK5wh/3J0vwIeCiyyaZ1/Tukiw5jyFS0hohHAVS4dG0xLSqxpEuD46V75JmfvklXN I3uuSkFqPk/O2eYDA157g7iXGDqgkiOEgbb5BAqnOmbrpTxZ9MholnX+DeyF5V64bCh3 xDVyZrM2nAtL9+4+0IRpHX5wSYQIvyQHhj2I8vhXSDSTHoj6+WIPriO8W80It4GOR0VW n/JWAU3RQdArKf9ETMikI7TgcSpvKAv1iXeNouFGqF+kDU8HGBjN7QK+eM4nWk6yocLm Eyd4iEYbAeXK7q+DnZWB9j6WVaG49H4Q76VQNhacogAnMnKl7AlMxw9/jpyiCcMmPH+E tSdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RE4uJNSb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id br19-20020a170906d15300b00992b2a28ef6si25894ejb.25.2023.07.17.11.24.15; Mon, 17 Jul 2023 11:24:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RE4uJNSb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230486AbjGQSFS (ORCPT + 99 others); Mon, 17 Jul 2023 14:05:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230286AbjGQSFF (ORCPT ); Mon, 17 Jul 2023 14:05:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77BC1172D; Mon, 17 Jul 2023 11:04:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E35DE611CB; Mon, 17 Jul 2023 18:04:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 512DBC433C7; Mon, 17 Jul 2023 18:04:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689617090; bh=0EJJmYXOL7M7V4ygQyDxCfubtMpDAB+gg67o07k8rOc=; h=Date:From:To:Cc:Subject:Reply-To:From; b=RE4uJNSbMz8uSmwquQbgbKv8XWj+SU3ZrwbfBS9kW5nRgrD8SFI5IfrSxe9pkdqcp WIuptz3P1XXRhbsS2M9r8lw6WfMCzNxYwTZ6LdLvBkiicLoP70/6OylTHmCNEen1n2 yEK5XkARFhQpPypIySKGJR0XkA7Kj5299/M4Vk+WgCxRuyExYCwPABwDpAbgVvG4Oa mmkfmDiw+JRXFuzylnvRnLkxW4/z5nLailmfX6j9LzgTel3/gueA76Hsa2/o+c4peT QWaQbbAtajcvkauk1OuN5wa2R4yhwY3xDiITIJ/P2TtOmVzUxIuY2byGFdKNJVZjyS oZO3rxf5DpCeA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id F29A7CE03F1; Mon, 17 Jul 2023 11:04:49 -0700 (PDT) Date: Mon, 17 Jul 2023 11:04:49 -0700 From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org Subject: [PATCH rcu 0/5] Tasks RCU updates for v6.6 Message-ID: Reply-To: paulmck@kernel.org MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771693176748170378 X-GMAIL-MSGID: 1771693176748170378 Hello! This series contains Tasks RCU updates. 1. rcu-tasks: Treat only synchronous grace periods urgently. 2. rcu-tasks: Remove redundant #ifdef CONFIG_TASKS_RCU. 3. rcu-tasks: Add kernel boot parameters for callback laziness. 4. rcu-tasks: Cancel callback laziness if too many callbacks. 5. Complain about unexpected uses of RCU Tasks Trace. Thanx, Paul ------------------------------------------------------------------------ Documentation/admin-guide/kernel-parameters.txt | 7 + b/Documentation/admin-guide/kernel-parameters.txt | 23 ++++++ b/kernel/rcu/tasks.h | 81 +++++++++++++++++++--- b/scripts/checkpatch.pl | 18 ++++ kernel/rcu/tasks.h | 24 +++++- 5 files changed, 141 insertions(+), 12 deletions(-)