Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp376399rdb; Thu, 25 Jan 2024 20:00:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IGpARl89CeU+D7g+zyC0O9KngSRBm9pVAdUB4CxM3BSZvgJDYViNiJz57676PrBJqlhGTlb X-Received: by 2002:a05:6870:fba0:b0:210:7d9c:1d07 with SMTP id kv32-20020a056870fba000b002107d9c1d07mr787046oab.31.1706241603386; Thu, 25 Jan 2024 20:00:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706241603; cv=pass; d=google.com; s=arc-20160816; b=0bhU6v9BfqNedDIOum1VvwDZk1JmXp8tcPlhMOYf8E4x6XE55fur9fn+Dpxu7z2nLx guU4GbcmaOStbLxpQ+jgpW9Y6BLu9ZR4WPbYlQmtuoYQdBfFgTaVBlsJJyvtzGdgpI/g shEP6JtyiinZBsG3sX4S+OwXehKGWlxsSrj76w3bSLF3v+d+FJwvz+gKW+I+BviS1YJJ DyFuuirsgTJK/ci8qt7zI/skzJimAaWd8hSfkHoBf9o91r8yifFHe21W6yNJ3wgOIObJ R5y2IJiCYs+GupH7qBu70kM2N5Jg8UyTji7074lAZ/3lNZpOFw4drdKScUXL20VrfDJK GqEA== 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:feedback-id:dkim-signature; bh=XQw3igpVtUqCTigEWdjGQcQAwe3+fTReKCynw3MlRDg=; fh=y2vSzkQ01DsnkYIHdHJwJuTjfZx9EXWe7xvme7T4GVA=; b=sVzQn8RkEAitwsYiaMJLK0yMsOjOLmlu8WJs5bUUAPaKvyIXuL3Nxal9SaJpT/doAL xK2OmBARai+FYvMCVCKgYc16I7r+5sYqNjm9L+FD1bXFpQ3J8AowpY+Insx8GldzqbdM uy7RyszPPHrF0tiMrJwXpwkDncerp6OmJ5eDmS7pKl7tRrhg5s4rkurvAGt12iIG15Sn Q99LbxB2pA9IPWTKTxeXYGVC4vAcjwTZulgls7HiHYCZWSYNEGQQxUnhljIiX9HhTRwf iYlEgkYnBShlwJ0Lr82H6OOSRvbpzX75qw294Jcdj+5wyB//9CGp3MMxCkOxPW+8ov27 tr+w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YkZNRCJQ; 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-39582-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39582-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id l184-20020a6325c1000000b005cd86a1beccsi395894pgl.593.2024.01.25.20.00.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 20:00:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39582-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YkZNRCJQ; 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-39582-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39582-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E84ED28CDCF for ; Fri, 26 Jan 2024 04:00:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C34BD11187; Fri, 26 Jan 2024 03:59:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YkZNRCJQ" Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) (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 E873FD2FF; Fri, 26 Jan 2024 03:59:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706241563; cv=none; b=NN4/qS1eN7EqodSqlwYD8VIvxXxkKTQYLCrTS557rUnkKuIEFezI7s2BmjTI//91emauoltJfMOkbsJg74KA8fUuD/Dy2v24l/7KFP5bLQ5JvpAmXuKQiBC6k1GoxdENY4nG3vDxbTGNEwV8ldS9VUlj/kJNGC9z6pxqO7HBLuw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706241563; c=relaxed/simple; bh=aCgqNjr3kyoCqt4weqgnVtWfnlpXYVdwZmyIsezpDcw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hQi0FKebZSWTn4zRnFzM5jOGxRXjEN6tQzwHNn//NGqtio8f/fX3xzNvc24cspJ8wZMNHeW8V5pxi8nMMU0bJdYa6C+1BKky4KgKes/X0bqumHN6qc52JtPOLHfWbLIiPLwcvhOgEUQetNmxdHSO9g3gWINgN2fAJm7/dwxnsBc= 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=YkZNRCJQ; arc=none smtp.client-ip=209.85.222.178 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-qk1-f178.google.com with SMTP id af79cd13be357-7835aea8012so21381085a.0; Thu, 25 Jan 2024 19:59:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706241557; x=1706846357; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:feedback-id:from:to:cc:subject :date:message-id:reply-to; bh=XQw3igpVtUqCTigEWdjGQcQAwe3+fTReKCynw3MlRDg=; b=YkZNRCJQcmBTBn1xigUmWaYsXy0U8YOwW+sHq8Ru/8A4URXjFwWSRJw7iGZGZ3ic7b IBAy/pkoHM+7h+7DeDcUS152vMn2cWGGN+MDp8HRRoymuLUCq8G9UZVAo7nV7QrquPb2 p2CxmBF/Mi6U4uAxsGahJKKUUrl2P8gVKqdMdmnD0r9dzliH/7BUQH5xZlFeuAYEjjmZ IY6+j+QCenkfxzsqQdrHzOWAiylYKxBwSARD3sbYu3nNw24Qc8qRVtrtQbQYV+a/DB3P EJAQ8n3TSBjgkoIFoeoN7Jca5b8elWofk4myuavwHB8pObOuWCtmtC0B7A2tLP4gSlKq Whuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706241557; x=1706846357; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:feedback-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XQw3igpVtUqCTigEWdjGQcQAwe3+fTReKCynw3MlRDg=; b=KIN+BlcMbK/Gw6/57Q1crshonRhVB7PR9vA2SAxf01c9fMJuyHzj4IM3ENs7HFDy2t PHcXs0mnXKb+5Uqf5RpPCkbgf6S0K0b4v1bbKWAWn4oCZ+thrQ+XQ3MGhnNxrHnw0T6T fM68qfu6bap8qP0K6v8bDR+Ct9p4vqYn/bx3DhGOZswCBlmN59lvcrjuTQvwD1bZIw2R Ga9MirRxIzLUkdWBHERp2OZPUaMunTW43fv73xgOnwhluQR2otx01G+lktVOm3p3WnW7 wqh95qrg1pgxZQWNER4M4HUvjERAM0Jlj6uSVCgJX+7u05Yr2ZdfrbxTjknjcjafEBdn 8HLw== X-Gm-Message-State: AOJu0Yxk/IUUsSMYEEbXYU1eJbthIwnmZFHIfvRge+1matZs/5KX4anj D8Vs9Cf3CieulVDULNwGTVK4In/UrMK71yhgMWM4JLCLCsKBYo/T X-Received: by 2002:a05:620a:2492:b0:783:6e66:4700 with SMTP id i18-20020a05620a249200b007836e664700mr918566qkn.66.1706241557473; Thu, 25 Jan 2024 19:59:17 -0800 (PST) Received: from auth2-smtp.messagingengine.com (auth2-smtp.messagingengine.com. [66.111.4.228]) by smtp.gmail.com with ESMTPSA id s26-20020a05620a16ba00b007833301b5b6sm205936qkj.115.2024.01.25.19.59.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 19:59:17 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id C2BA527C005B; Thu, 25 Jan 2024 22:59:16 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 25 Jan 2024 22:59:16 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeliedgieefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepuehoqhhu nhcuhfgvnhhguceosghoqhhunhdrfhgvnhhgsehgmhgrihhlrdgtohhmqeenucggtffrrg htthgvrhhnpeegleejiedthedvheeggfejveefjeejkefgveffieeujefhueeigfegueeh geeggfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gsohhquhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdeiledvgeehtdei gedqudejjeekheehhedvqdgsohhquhhnrdhfvghngheppehgmhgrihhlrdgtohhmsehfih igmhgvrdhnrghmvg X-ME-Proxy: Feedback-ID: iad51458e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 25 Jan 2024 22:59:16 -0500 (EST) From: Boqun Feng To: linux-kernel@vger.kernel.org, rcu@vger.kernel.org, linux-doc@vger.kernel.org Cc: Jonathan Corbet , "Paul E. McKenney" , Frederic Weisbecker , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Zqiang Subject: [PATCH 4/8] doc: Add CONFIG_RCU_STRICT_GRACE_PERIOD to checklist.rst Date: Thu, 25 Jan 2024 19:58:07 -0800 Message-ID: <20240126035816.3129296-5-boqun.feng@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240126035816.3129296-1-boqun.feng@gmail.com> References: <20240126035816.3129296-1-boqun.feng@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Paul E. McKenney" This commit adds CONFIG_RCU_STRICT_GRACE_PERIOD to the list of debugging Kconfig options in checklist.rst. Signed-off-by: Paul E. McKenney --- Documentation/RCU/checklist.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/RCU/checklist.rst b/Documentation/RCU/checklist.rst index 98a622f77248..addd5c1547a4 100644 --- a/Documentation/RCU/checklist.rst +++ b/Documentation/RCU/checklist.rst @@ -491,6 +491,12 @@ over a rather long period of time, but improvements are always welcome! since the last time that you passed that same object to call_rcu() (or friends). + CONFIG_RCU_STRICT_GRACE_PERIOD: + combine with KASAN to check for pointers leaked out + of RCU read-side critical sections. This Kconfig + option is tough on both performance and scalability, + and so is limited to four-CPU systems. + __rcu sparse checks: tag the pointer to the RCU-protected data structure with __rcu, and sparse will warn you if you access that -- 2.43.0