From patchwork Wed Oct 19 22:46:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 382 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp570341wrs; Wed, 19 Oct 2022 15:47:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ced2fA+detWp782TToZCH02ylGkAM33HV3qgqczYtMvefVZfulrKlBZh/+C61O3HBZhLj X-Received: by 2002:a17:90b:1649:b0:20d:2d96:6b05 with SMTP id il9-20020a17090b164900b0020d2d966b05mr48206116pjb.9.1666219647869; Wed, 19 Oct 2022 15:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666219647; cv=none; d=google.com; s=arc-20160816; b=O+eh4xPm85DZngr/OUbuukXlDQrA13JAyra4revc/IMuvdAqPNqMJeGoQmV5kt48JB xDgHJK3szUDEgcFe+q7HEfdYqSUQYYwsi/b+3Q1yZR/AtvGWS9zSA0KOuUTm9pkYldno TpG4hrAg4TNsZwSEllksZtgAW68pVBxg1cXB+i3S6EyIGFrInWcbS+AGyApFE8QjXmrW CZVFnWMw/zpqcsN0AdysHxwSPeUPsX3E+cAIqEtQoQTQN2o/xACPgoPkaNnK/xOohHaW 4NN0rmckbYaFEqJBS+43FY9LturssUWZgDRxUxWy+ERMOUncdry+ijoktLfTumQH/UXW bFxw== 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=lsjWMMMYwv79ovIKxftdXQkjnVSSoKdBh2J+A+iSx3w=; b=V03flrm+WJuxpfb689K+auOHG3tMvHLQMhwcEWPYWuUk/E5V72aZbsi4w22y4tUQjf 9ZzUgFLGYngpS3VLCYar6I697nvGDlrEhustA1Zm3OMWrhbiiTMVu3krPliIgy8JpAVx W3a8Otomh55TG0KuF/lSmAURcAuSOCJs4vhZrKSDtrGuO5MdPi0PK0OVlkJQgPQQURtJ ezm1VayOwNVB/2645GsKi9xEoSXR+vM3Io2Vd7TPAdSOqBxFXCzNYMj0VlD12R+5GYPz R93r7TxxwOcnNoVuAYhFvJlBhQPoTuzzTlyL6MeUPKek/D6XRybFiMsWJO2ZY8JWCRJ9 C6Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h1f+ch+h; 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 k69-20020a638448000000b0042b804ca112si19705488pgd.785.2022.10.19.15.47.15; Wed, 19 Oct 2022 15:47:27 -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=h1f+ch+h; 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 S230281AbiJSWrE (ORCPT + 99 others); Wed, 19 Oct 2022 18:47:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230407AbiJSWq6 (ORCPT ); Wed, 19 Oct 2022 18:46:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D4A5189C3A; Wed, 19 Oct 2022 15:46:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B6773B82565; Wed, 19 Oct 2022 22:46:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75A66C433D6; Wed, 19 Oct 2022 22:46:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666219612; bh=ZG4aSPWT39VnE1RWNNPIrbbBQn09pN7NZIq4jagKU90=; h=Date:From:To:Cc:Subject:Reply-To:From; b=h1f+ch+h9OpSbbYc1ykW9MUsKtRnc6c/wrC6nCucP/IGLQ/ImLqGllecH4Na5f1Qw PEaZTxJX/e/fur6OXD6jETgFPIGQ5prsPG4uuONZvfnyx1tKEAMnJvDL79vi90lsv3 KKDD0DYi2YRHERzEP0+YLjtke97lQWYBO5mNWmx3So0z1NdFXUU1DvuFyy6fo2HskC hzsy4B7Vs65CxsLollVWB4ObuhU4jZ0BUc1vk6pHpcD/X/hFTECfqOluZ9QyfPgT8v 79Z4Of3jqQCWFbZJ3dPv2np4KNWD9PX7Rcm0t3u9QND9WZQ0JXzCvsl43HQgMumTaV FByHHw0VPHV+Q== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 234915C06B4; Wed, 19 Oct 2022 15:46:52 -0700 (PDT) Date: Wed, 19 Oct 2022 15:46:52 -0700 From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org Subject: [PATCH rcu 0/8] Miscellaneous fixes for v6.2 Message-ID: <20221019224652.GA2499358@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-7.4 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 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747157933125577522?= X-GMAIL-MSGID: =?utf-8?q?1747157933125577522?= Hello! This series contains miscellaneous fixes: 1. Remove duplicate RCU exp QS report from rcu_report_dead(), courtesy of Zqiang. 2. Synchronize ->qsmaskinitnext in rcu_boost_kthread_setaffinity(), courtesy of Pingfan Liu. 3. Remove unused 'cpu' in rcu_virt_note_context_switch(), courtesy of Zeng Heng. 4. Use READ_ONCE() for lockless read of rnp->qsmask, courtesy of "Joel Fernandes (Google)". 5. Explain why SLAB_DESTROY_BY_RCU reference before locking. 6. Remove rcu_is_idle_cpu(), courtesy of Yipeng Zou. 7. rcu-tasks: Make grace-period-age message human-readable. 8. Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_state(), courtesy of Zqiang. Thanx, Paul ------------------------------------------------------------------------ b/include/linux/kvm_host.h | 2 +- b/include/linux/rcutiny.h | 2 +- b/include/linux/rcutree.h | 2 +- b/include/linux/slab.h | 6 ++++++ b/kernel/rcu/tasks.h | 2 +- b/kernel/rcu/tree.c | 2 -- b/kernel/rcu/tree_plugin.h | 5 ++++- include/linux/rcutiny.h | 2 -- include/linux/rcutree.h | 2 -- kernel/rcu/tree.c | 10 ++-------- 10 files changed, 16 insertions(+), 19 deletions(-)