Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1312282lqb; Thu, 30 May 2024 06:56:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXV4OX8ZiAdPC8hkdEb6qlGArgk8NFDui/XjKtBXjDUD0uIO4niz5uOpLH1ACj9WGde9iNRMrkOxRIHY0MoRWgeRK21+pakxsum1GYENw== X-Google-Smtp-Source: AGHT+IFc0KdveRcG5L2HcVij9u3Ov07Mwzpjox4xvvk8OhobNN3eQk+tqD7keBiTX7lglrIsqHXj X-Received: by 2002:a05:6a20:2454:b0:1a9:dd82:a42a with SMTP id adf61e73a8af0-1b2645dddc8mr2330839637.31.1717077380913; Thu, 30 May 2024 06:56:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717077380; cv=pass; d=google.com; s=arc-20160816; b=A4IzbY0GqGzuu+RTuKz51eCj6NXyv6l72DKEbbt/caTkBM18qMs2vYizd6fbS4IYKF Tng3soSJAtschiITeldCSziVavG3v/Lfmehkln/OOdUFBQmPf228ZnWWpUfcfZFvxTr6 /WvauuwrYSoExS4UPBww6Q2Nl2NuzObNTP/kYAdyw+uz2phVtlHaM7CP65PGL2/QJz6J I8Tw4m+94e5zzgflCdxnFW+UKMGbaP/zPbHe9TvgIghX48IkQmQ+01HWl5PUFiHVaoHk iCoGx6vkcwxOjqV4e1kB1tdGfHY7+sCzQH0wJshFJFsMS0YWirxyef6pTvvAzIqRaClX OjDg== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=7HQZlvgMyXeAqQ4UNyq+d1j3mgeh8vKgKzHVbgoo0Zc=; fh=ruOaVEkAbEh3t4sLFZXGQmBwM4c1/V/LLnMggyZGb4c=; b=cBLMmhNLvGMVLTGNm/jnOkQWM5wRNZk2FDHSCxzga7+pwbPpsCvOd88YgbFtmHKH92 b6hCpU3YuE2CQ8rZzgBQfBpQaMSp/T483K+aLFT+zZgSMCM98kPhhC3gCxP9Zn1OFC/R iElfYxvr26WLwwvJo1rkXXkM4WVCmqpK/59TTb5ru9qTNiUurq7hcxigWyEHOh6VBkQH D0+uFiZtQ/o4XEWKeXgDol9QG3pInv9/ySKsii/oXSlXnvZvWxPBt8hhzn7xL+vsNBRy LaKGZVp3KDVOK1e0oEww1coSEGegDmtSsvKnW0kP8cJJrNAnLxJhIrUDVNwSephkq0ez Jq1A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l14Shepl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195451-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195451-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 d2e1a72fcca58-6f8fd4d4eccsi12011199b3a.253.2024.05.30.06.56.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 06:56:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195451-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=l14Shepl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195451-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195451-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 5383E2894D0 for ; Thu, 30 May 2024 13:49:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D029186283; Thu, 30 May 2024 13:46:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="l14Shepl" 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 882391856F2; Thu, 30 May 2024 13:46:35 +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=1717076795; cv=none; b=hiWEsF/TfHgjjfxn/EHNiTo19fmhGIqSrs5EQa+LZVgL2rvFX3mreSUXezQUAwyjOh7bnvkU8bi9VpROcd9HjlzXjg0ayVEuWknr4XoIgPdXoQFeU4u72N31ymzUW+OM5Udy1zftkUjMuCEvK/STYZEdIwcJ5H7PM08vUYONFcI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717076795; c=relaxed/simple; bh=zWdQY6e/8PSNUP7VQ0D8AgYnYw4k9+f5nEq3LZnmnr4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=aEWp75NpH1ha+iDGeM1Ce3vC12OjAC1Zpl/FHsNavmWULskqdCsIbgtZKG3Y/62A0qdA+bOdFxla/f4FZc/dYeAslvKPVect+et6yswMuvORsFQ3QXOxZo4JyBxDGtSvmLcw0LiRmmRd2KR5IXfvxQhB3pG15YzHy6WXBXsk1ME= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=l14Shepl; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E16FC3277B; Thu, 30 May 2024 13:46:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717076795; bh=zWdQY6e/8PSNUP7VQ0D8AgYnYw4k9+f5nEq3LZnmnr4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l14SheploPRJfl6S4qmmWBf75MaXZGZBlrapht8sNO4fm+uaCJODrPychuInfje+/ RSbctdwvNuUYxO8mtA33/gUFgomOBXy5TCF6rdJtDUwZK7CX7v32bzwfJzBzGdsKt+ wH54KuTJr+OasmLs/dUx6c2ya1cMrC9g/5HPhrozIib6EcjXHFR7ZtiiDaY1KkYdes HNANXkDRKinbY8eYvUM7Ae+i6+gIBW2AhTI4e3eMVwHZFAEgyiNjG6//ULwwcUAWLs GXh6HQXepy8aZ+yT5I3lkn5qGUKVCrb+wRySPjhhT+462tnXZO4LBJTIgA/namOLnh DDe7cM0tBaCBw== From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Boqun Feng , Joel Fernandes , Neeraj Upadhyay , "Paul E . McKenney" , Uladzislau Rezki , Zqiang , rcu Subject: [PATCH 10/11] rcu/nocb: Remove SEGCBLIST_KTHREAD_CB Date: Thu, 30 May 2024 15:45:51 +0200 Message-ID: <20240530134552.5467-11-frederic@kernel.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240530134552.5467-1-frederic@kernel.org> References: <20240530134552.5467-1-frederic@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This state excerpt from the (de-)offloading state machine was used to implement an ad-hoc kthread parking of rcuo kthreads. This code has been removed and therefore the related state can be erased as well. Signed-off-by: Frederic Weisbecker --- include/linux/rcu_segcblist.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/linux/rcu_segcblist.h b/include/linux/rcu_segcblist.h index 5469c54cd778..1ef1bb54853d 100644 --- a/include/linux/rcu_segcblist.h +++ b/include/linux/rcu_segcblist.h @@ -186,9 +186,8 @@ struct rcu_cblist { */ #define SEGCBLIST_ENABLED BIT(0) #define SEGCBLIST_LOCKING BIT(1) -#define SEGCBLIST_KTHREAD_CB BIT(2) -#define SEGCBLIST_KTHREAD_GP BIT(3) -#define SEGCBLIST_OFFLOADED BIT(4) +#define SEGCBLIST_KTHREAD_GP BIT(2) +#define SEGCBLIST_OFFLOADED BIT(3) struct rcu_segcblist { struct rcu_head *head; -- 2.45.1