Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp408577lqb; Tue, 4 Jun 2024 15:28:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXvGClWwW8GV7xdK180rR4OY+u9VDOb+2adEFmb1DcgxHIpJdIuTKReBtQnCEnNB5ooKhQeJPnkiPTKb8XX2v1TlLREgX/6F5Kt1IeoOQ== X-Google-Smtp-Source: AGHT+IFYwo/ntCdvJAJ/ee7OLIMytivyWVh4UZmsQh34o+BPRK8bCDjGa4nXA7/1IdIGYtc6ETE7 X-Received: by 2002:ac2:5df5:0:b0:51a:cafd:3872 with SMTP id 2adb3069b0e04-52bab4cbd5fmr446972e87.3.1717540139104; Tue, 04 Jun 2024 15:28:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717540139; cv=pass; d=google.com; s=arc-20160816; b=MDSSADi181MiVbwWKoUMH/QAEcDbsRct9bapV/VjHbDIRezP7biZQAvZX6MB54skuT iV/OlGjo2+i6BY7h6LCc3kfvpOF4P1I2inybc4ghl5IsRCrWeZxtKhI+G6/OAx0ABit/ lYQdQt5Bj+fM/7V7C6vCZVrfE0PadP98S1Y8CNvMAi1Scs5je96EMiWGJXOK/KNFCHgq j7BQhCMUMt8dN4XXqQJf3SZN3Er2VdO65PVamVjrzDiFVfp4LP5rrbry8EZAq0pr/kOg vWmESZhTHleBJrgD2C6A6an2C9oV9P46gKs0LLgyiynHOcys2drB/DNV5J8fmli+5GXD qUAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=qfxyIRgeKA5AO4c633QM9AV2E+6k/cHFXb+YpYxscfs=; fh=07mCPaJP3Wo4et9ijFEFRu8IUstNwIQEbC1TJoajECg=; b=1ECvf1hiqwAVnoqvStjF/FP3/EDq1DF9jI1J76P66wsT9l4acbkaVvDPxZ5ggQn7MI It7nrtbL2SdswKP0o38otOQAg9QwHYsgj3ip5QniuyKJfbbCqnI/ndCcfqRA0MEKK3Rf xV9IWIVEd7Qp0MAOJFz+sFBkBUc0FkKi97zC2hAA238AENPH5Gd7EBj1u2SS0/X3EY6z e11RjZDqmZgWoAc/yN6P0t5g9FLrZH5t4F6oU8Hqk8r1GfwEdnisV/7l/oeYkZiedJ/E xbud26KqcOnjPXNqQxSYxMH039NYeBm3C8r4hGqaYQEJyZYXMLQFCAt4smTN8CMKRJmG vVpg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jiw0BstA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-201478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201478-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31c76766si5715225a12.392.2024.06.04.15.28.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 15:28:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jiw0BstA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-201478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201478-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id F2CE11F26C03 for ; Tue, 4 Jun 2024 22:28:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F63414B960; Tue, 4 Jun 2024 22:28:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jiw0BstA" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AEEEF146599; Tue, 4 Jun 2024 22:28:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717540099; cv=none; b=LtkKvmu8Cgu4VDVZO82FT7RxI2nzx6qetPGGYl11wmeC3OX8s2jbJ+65Hp4oVrtyObm5KnxhW0WJ5nXlnMfYPy9XsG7uuuGwunBXQtKeXqlCSa1lrgnMTv1f0J5CCchqnA4p0nOQVuAGqgox4pkvnTTcLeuI+21a50MRc9IUbA4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717540099; c=relaxed/simple; bh=76Gc/g9GD1ntDHfw01bT6c8btnEVs2sKXCci2YlnED4=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=MX3ZOEEn52atxXvWGXv3/kZceg7bvTY0vOQMsmnuxW0p9NbzmWzd9C26s/3UuRUy5npVXkXGAO0zo/3o/fgTpoCyheHNcmuSaRPo9dnHM/LT96VDs3giADwtOY8iW3OR5SonpwzxpAuMo824HQ+LoMxHSYf7eaJMo0qwxqS3UI8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jiw0BstA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F807C2BBFC; Tue, 4 Jun 2024 22:28:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717540099; bh=76Gc/g9GD1ntDHfw01bT6c8btnEVs2sKXCci2YlnED4=; h=Date:From:To:Cc:Subject:Reply-To:From; b=jiw0BstAgQzgLy4/+9itabar+lcgM2tm9VhdY9t4Nbkk7tf2zg8uW6eiRcs3gzAfL /7ip2v1FHs9R3Eids4Rd3mWNW/u3LMBFrpZJWV5MERtfHYwnULJgHF5RPv9YbMdrPU 8Ve+SxL3hACKqRjKapAnUuf67xGOp4PsXUCWbLqk4XSgtnRJSaSePY8PpmUcnBaTBG ck8uPeKKzxNx4Lh0Gmet2jaSZviR2CKcCIxdDbMR7uRo/LY+LVffBdV2Oc5sVBlQVO 07iZp6RxT7ZTNPuwSwf9Q6tyH9OPeDPxgLCWalmG2/1u9HbsKZ3dB2kKM9tCFvSTd7 hj+/bhGuRKbdQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 44A6FCE3ED6; Tue, 4 Jun 2024 15:28:19 -0700 (PDT) Date: Tue, 4 Jun 2024 15:28:19 -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/4] Callback-offloading patches for v6.11 Message-ID: Reply-To: paulmck@kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello! The following series updates RCU's callback offloading: 1. Fix segcblist state machine comments about bypass, courtesy of Frederic Weisbecker. 2. Fix segcblist state machine stale comments about timers, courtesy of Frederic Weisbecker. 3. Use kthread parking instead of ad-hoc implementation, courtesy of Frederic Weisbecker. 4. Remove buggy bypass lock contention mitigation, courtesy of Frederic Weisbecker. Thanx, Paul ------------------------------------------------------------------------ b/include/linux/rcu_segcblist.h | 7 +- b/kernel/rcu/tree.h | 1 b/kernel/rcu/tree_nocb.h | 115 +++++++++++----------------------------- b/kernel/rcu/tree_plugin.h | 4 - include/linux/rcu_segcblist.h | 87 +++++++++++++----------------- kernel/rcu/tree_nocb.h | 32 ++--------- 6 files changed, 83 insertions(+), 163 deletions(-)