Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1148593lqd; Thu, 25 Apr 2024 07:20:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUyYyAYmpNq/WnfmluDyeMT/FWnARQ9Md/oTP7xOQbGPfweb+k9aDwVZWVNyX7JDivlFEjEC+VBsY1gza6yECnd6aRR8NB6J1XVOiValw== X-Google-Smtp-Source: AGHT+IHA8Im3z/ptSyUnRHezfqXGpMs8S+WGUhi0m1AyV95JkF8cSndvWWAchxVagM3MDCBzmY3A X-Received: by 2002:a05:6a21:6d97:b0:1ad:2016:dff2 with SMTP id wl23-20020a056a216d9700b001ad2016dff2mr6363996pzb.26.1714054803771; Thu, 25 Apr 2024 07:20:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714054803; cv=pass; d=google.com; s=arc-20160816; b=sIITYYBoR/EPN/9LvJ7nFQdgfX6TFasW+TFg7iE2cNQ8/FNVUFB+9GZbG8G/w7NvmK fZG/5b/LEp2RvnGdctfLrCRjNS8r5BhoNxiwbYdMRCI/WfXqLqiSLt7UElFjdEp8lgHq ycgPVBIDf946cmZwE0E5GMgGSonXM2qlGngB+2TWrwSY4pe3b71C23HWMifZ9uefuqz9 1ucShcwfpirWS/5or1l/H35LBwW5U3NXPDce1RvVhWmlALNEM3kqRkRr5DHxg68jYlnH IqgCD2kqkW58tHPLV0B+ezt86xDApxuFKpgrdUnFb3dGMWnSdO9y1fmlPJqsPBYfp7B7 uxVg== 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:dkim-signature; bh=knPKpEMnTvNCXMR6BWHh7kshI0SgLxQYz2e1XDAFLWw=; fh=mlB9HrEPba9NqY8vaO7nQu4v3Ivgen72Da4hKnaxF/k=; b=LIsuZQ4lWRUHbctjtmMHKfAnAtF9R23YuY5DEIdIlAgIU5qVGyz9RS2OWtvfUbrT3g FqAO8NcRsxryzBqNn0q0wvK3Pwxb53L6r0jYy6ewwH8XC8QK/h4TbDz8VdeH53uDfr2q QFVxwDD2hsM1Gc4QND15TRIXZs3J7l+Ikl+79rXmsov8Eq6ioCfVYeM2DQ/h6RqdiL3L 4NwCImqcMFTHF6LX1JwJtHjEKpY/gq56iP61ljparE8EMhdNC/lqFmWCxZ7PAr7kKioG Lv+PR1GECz1gTUkEsmfI8KZFeQj/FFEeg5rGHdtrLLGu0JR2Re43BucWcHW4tVSF7IG/ Nk5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rQkaEg9w; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-158679-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158679-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p24-20020a634f58000000b005f3e052770esi13077890pgl.83.2024.04.25.07.20.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 07:20:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158679-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rQkaEg9w; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-158679-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158679-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7B6B628607F for ; Thu, 25 Apr 2024 14:19:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC5B814A4E0; Thu, 25 Apr 2024 14:18:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rQkaEg9w" 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 D346A14A4E9; Thu, 25 Apr 2024 14:18:40 +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=1714054721; cv=none; b=OR1ukkqrHiVG2VxIWe77b+x58jZAZEByryeWtieoBRgKDXEPjEYweGRbxiR5XASOZPG3ebKfggeTblw0n8Gd33mh8bKg8AfN9rcXfRk3IFiJKftoSw4IrVWuma+zduTevMIvkj6OsLGKgAimhzVbTMZt+HCGtFFI3qnEqo8PZ8s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714054721; c=relaxed/simple; bh=3+LCJrMTpWDrAfVC9Nynshec8qYyFcNJbRtXFVSsUqI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KsgrE9QfHdNLcuqvf94BpDcIPq1f52Uo3PG7anWbC7bxbnbmKShK7Stf7p92dFvFqQkAcsXQB2vO2vi1zN2MSUeVqJPvauY+61ETsxof4v4/G8EWOOrTn3Lu7N1aUpoErEli/g8F4jnuKp9kWrD61u1WpIwplPfgosaZ2/7V12c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rQkaEg9w; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92E66C113CE; Thu, 25 Apr 2024 14:18:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714054720; bh=3+LCJrMTpWDrAfVC9Nynshec8qYyFcNJbRtXFVSsUqI=; h=From:To:Cc:Subject:Date:From; b=rQkaEg9wljfOzgf7HMGzIH+D+1/lPYVuBL9OlRBPqhUvmZU1ULHq/3DgMGSP8gFFh F/kwBs+W8wQKfibL4WKRaNKqnLLbN5yAXEiyixVpzCGoZIYZkY+r+laqWixXrANOYw 7WGPGGDTosJZ2uRuIv7Nxtz4E0cIZPC7DrxibjOrHxi1IIAiC5pYOG+l3c4QXqbHns zainW7gc+92YWgqaX2QBnRFd4qzFsoiVbJWZexLVAZLqMm1NPguFBJABddMnG7Ymvm nJntYl3MYsRKazALbCGRnHuOJ/DcipLZI9m6B6exjNNdzSQvv6IEpcMNkZcOy/jxPa IP6veMuwUg0/Q== From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , "Paul E. McKenney" , Boqun Feng , Joel Fernandes , Neeraj Upadhyay , Uladzislau Rezki , Zqiang , rcu Subject: [PATCH 0/4] rcu/nocb cleanups Date: Thu, 25 Apr 2024 16:18:31 +0200 Message-ID: <20240425141835.19776-1-frederic@kernel.org> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi, Some cleanups before converting (de-)offloading to only work on offline CPUs. Frederic Weisbecker (4): rcu/nocb: Fix segcblist state machine comments about bypass rcu/nocb: Fix segcblist state machine stale comments about timers rcu/nocb: Use kthread parking instead of ad-hoc implementation rcu/nocb: Remove buggy bypass lock contention mitigation include/linux/rcu_segcblist.h | 88 +++++++++----------- kernel/rcu/tree.h | 1 - kernel/rcu/tree_nocb.h | 149 ++++++++++------------------------ 3 files changed, 79 insertions(+), 159 deletions(-) -- 2.44.0