From patchwork Thu Feb 1 01:40:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Boqun Feng X-Patchwork-Id: 19766 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:106:209c:c626 with SMTP id mn5csp144593dyc; Wed, 31 Jan 2024 17:42:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IEfG/EnFb3SAuZHA3L4c8Jq7WkddujRc5EkuVJzV5uV1RzqCGOKQSmWjDGbM3zCvhAOeRQB X-Received: by 2002:ad4:5ba5:0:b0:68c:4f64:a122 with SMTP id 5-20020ad45ba5000000b0068c4f64a122mr4612384qvq.6.1706751754120; Wed, 31 Jan 2024 17:42:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706751754; cv=pass; d=google.com; s=arc-20160816; b=0BtFAAw/Lz92W7cZeMZJUMv5BFnQVF1wgelCGGRxao7EShGPASVvFGZ/djCLLY2vft 8w+kgSu6fWxn9rBgydP5Pg4HufwbpFHv9oAG1WiGQHPDzMYW8vBSkw4xxVATOvZvV8mC 43gtdYPOqFCMfAg40uWItZ9I8KWYa3alguV9dnIyG+xdZleaoDJGbTTeU1AHW9F4hpKy x48/zDpQELMJXRyu8C7tdGwWHQ/PvhTUBrZVw3DcnsvyneM0h/EPwcOqbhLUc1xj6FsE TSHa/seKsNJ11T+iW1UzTyPwBlIh7+/HppVabMNq5i49XB72CvdTOyegm+tFwQ1Auaxl yeYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:feedback-id:dkim-signature; bh=Vh6Ffd8hFONsbNouZh9tTHMRXHfYbfdTSU7EN4Ui6ec=; fh=G1OGP2Q+9lywbbOIR3oLHGqVpOgvxRQW+bRaPc0wgcE=; b=XT5WwjeYYSl4IyujfAV52hP71ATIzApwcQl0WXpYhAXtqX5Iw+5ukfWHmxKqlAfa2x fAV94qWeNkzAckTg07hW72EM/I1RF7H9vvg0Fd/0ByZnUs0dtBnHZHkUb2r2TzdSIDte HGuKwRZuO7DWwozEkIzePPgKR0JI351Cy0o24zkotDFCQG3kX+0hO9Bgm+3bI51xVhDH pjdkDlCuTbKnfvJNi/WMZUIbfwrCxT+6F4vqZzDWyD1SNHQwqDTd5Iz8HkWdIU8XzmHZ MlLYnqAdWLRYAg3AltxgIz+okDBMO4GOB2ySeii89qve6ask+P9YYWLXBrvURpy3FYRW nNag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OBtqqqWR; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-47506-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47506-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCUDw4F51OeUPOZ1KUoW6nucRucEDM3d3hv4sFcA3WFCGH84Sv6geDcpxXKYt2WiMx9ZiI8FF5lLe5JIoUaVaQhS/Q55dQ== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b20-20020a0cc994000000b0068c7a23fd7esi409270qvk.179.2024.01.31.17.42.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 17:42:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47506-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OBtqqqWR; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-47506-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47506-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E45431C21030 for ; Thu, 1 Feb 2024 01:42:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A46D35692; Thu, 1 Feb 2024 01:42:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OBtqqqWR" Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65F31442D; Thu, 1 Feb 2024 01:42:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706751732; cv=none; b=cvyaZj8/7PoOFTwfkcSU+rBY6Eqsu19Gv7PuMkvAtMKklHYSXlBNVR/zuRVmWTS07mLTaxjofx5+J4G+ljUgnXtawognt0vrl4C1e/8dFmQUQAsX8hfEwXCpAJHZWBqGVZTSOLB44mIG2/9s5fpYXOCt1U5sA5Otljo1+0ahaAg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706751732; c=relaxed/simple; bh=efwyMItElJetn/Fmbvc9IiQmkNvaw/WmkGfc/vk+kLg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=roq4JQ3uQDxDYwikAP+AfLsU15riq+qgDujaGU2OpnBB8+fJL2GXd36pBZuvbPgw6AAlxLwY49h3ciOMyyEJc9UGm2fkGbWFHqWRuCX0DgEpEAmpuRG3fr5n09JxHVbYnzXQaGZvGD1hTVF2joSeN9IGTNeVD2uv9MHdO/Oyoyc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=OBtqqqWR; arc=none smtp.client-ip=209.85.160.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qt1-f169.google.com with SMTP id d75a77b69052e-42aabb1cdaaso3294121cf.2; Wed, 31 Jan 2024 17:42:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706751730; x=1707356530; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:feedback-id:from:to:cc:subject:date:message-id:reply-to; bh=Vh6Ffd8hFONsbNouZh9tTHMRXHfYbfdTSU7EN4Ui6ec=; b=OBtqqqWR/UmbZ3lqFEdmm8G+h6w/1vBDVlnIVJapR3akdzdbBVyUl5cD1B1WqInsXZ 7TZ1aGJhdZxrGXRgm5iWPhEXgScrlj5kwjDJ9Kdq7/zCAv8PeuICKtP3fG3Sp2IoePef PzeJvj8+FCX1Mp9sTxEFztK9f00ObPjupV1fwnqvhLaPNayl2zmAHtsSlz7kZrAxjtmH 45UwsgblED79Bay9SuXcM4Ql7Yuh4f+4mGMZvrIddb32Gar+cArb97cSKYqd/VzslQ64 X15FHKyJtoHnJN6qecnwNahpnORkj87UL1RXHsqAk0hNtWeAu9GSpvmPuHjydVdKDm+t 48Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706751730; x=1707356530; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:feedback-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Vh6Ffd8hFONsbNouZh9tTHMRXHfYbfdTSU7EN4Ui6ec=; b=UiJl8Weu2a2Zpu6TZds5Mv1NzDBD2NscS7DWY5ufVymhAeE1neiqYyKUbw3GUQCL2w tIsxKxTJQT6TFkv5h+cGhSnfPFJ7hQKd7/C2fcA50nP0LS2pxw3qNs9yzd1BntU8SYJ+ DEsSqtcEjXdkP67VSn6CHfc1mBMRLRkdkwt+3ssJxUdpY1NwH+kcLX80gb2jYKwz9cId SdYq02xXORtg8dU4u9V4t0TiifgWN2U/8tFWj+rFlfagK8IYQHlD1HaWwJYPl9o1WO5d l0YS+CLkbQaZCKVRrpK6dB7+F3SnjCqrls0xwDCzNBl0yZ/ZCV8xahaeE6zGBiRqq+Vg CVtA== X-Gm-Message-State: AOJu0YxSbhSTcv7yaVromojTXLVQJeeKXyCSVHE+eIeTf5uF+6+JsZ01 MYwdgRpczmJAKWOhExX2E3VS/8bKAh1XADZf3uJ+okwcrLWxA9NB3RCBJns1 X-Received: by 2002:ac8:5794:0:b0:42b:e44f:2032 with SMTP id v20-20020ac85794000000b0042be44f2032mr845731qta.3.1706751730113; Wed, 31 Jan 2024 17:42:10 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCURKo0WkmLsMqJJbqX55qBbyBL51ZzDiNz38r0vcdDE27eu7GPcfiDy/Ix89AeCotULtyrdd3B3TLAnrPowZPkMisj+ Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com. [66.111.4.227]) by smtp.gmail.com with ESMTPSA id bz23-20020a05622a1e9700b0042994b3c20dsm131165qtb.29.2024.01.31.17.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 17:42:09 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id EDEF927C005B; Wed, 31 Jan 2024 20:42:08 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 31 Jan 2024 20:42:08 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedutddgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpeeuohhquhhnucfhvghnghcuoegsohhquhhnrdhfvghnghesghhm rghilhdrtghomheqnecuggftrfgrthhtvghrnheptdfftddtkeelvdefleeghfelleevge ffteehheeljeejudehueejhefggeevfeetnecuffhomhgrihhnpehgihhthhhusgdrtgho mhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsoh hquhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdeiledvgeehtdeigedq udejjeekheehhedvqdgsohhquhhnrdhfvghngheppehgmhgrihhlrdgtohhmsehfihigmh gvrdhnrghmvg X-ME-Proxy: Feedback-ID: iad51458e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 31 Jan 2024 20:42:08 -0500 (EST) From: Boqun Feng To: linux-kernel@vger.kernel.org, rcu@vger.kernel.org Cc: Boqun Feng Subject: [PATCH 0/6] RCU nocb updates for v6.9 Date: Wed, 31 Jan 2024 17:40:52 -0800 Message-ID: <20240201014100.3204532-1-boqun.feng@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789658927345536011 X-GMAIL-MSGID: 1789658927345536011 Hi, This series contains the updates and fixes of RCU nocb for v6.9. You can also find the series at: https://github.com/fbq/linux.git rcu-nocb.2024.01.29a The detailed list of the changes: Frederic Weisbecker (4): rcu/nocb: Remove needless LOAD-ACQUIRE rcu/nocb: Remove needless full barrier after callback advancing rcu/nocb: Make IRQs disablement symmetric rcu/nocb: Re-arrange call_rcu() NOCB specific code Zqiang (2): rcu/nocb: Fix WARN_ON_ONCE() in the rcu_nocb_bypass_lock() rcu/nocb: Check rdp_gp->nocb_timer in __call_rcu_nocb_wake() kernel/rcu/tree.c | 53 +++++++++++++++++++++++------------------- kernel/rcu/tree.h | 9 ++++--- kernel/rcu/tree_nocb.h | 47 ++++++++++++++++++++++--------------- 3 files changed, 61 insertions(+), 48 deletions(-)