From patchwork Fri Aug 2 00:34:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13750959 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 6A0AA4A00; Fri, 2 Aug 2024 00:34:21 +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=1722558861; cv=none; b=FQ3xnqWgZmfX9tMuQfJGhcIDdrcgb9ojlEZgXp/TnG1hXY+nspFRadaoQC84s1NlugCUp+6HANoaCNneM8EQx0b2nQ8i4BC3JQvrtgisOtz7YUsBZIxGE/HSZmInIi9cZrJb/IDX9jP4cN4Eas/xw91Zk/TlvuflKra8ccUFQf8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722558861; c=relaxed/simple; bh=dQ40J4b/wSpKgjjEfA9lJ+zUfFA7GoFIjkpYH+ASOk0=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=smiz6llTGsaaJvef7Z6arYKOnYZH9eOWdTFImDRKD4l9+FDf3tcXqrDUjAmXFDcW1Uvthk/Yae3jOvBLGTkh9XpSKw2cpaxoxynxMaf9xGS+pbc9C8DvCUuBplcn/LAWaYwbJnf+m5KA/UFWz/5TMVlp8zjbobn5z+b3VFOZpFM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mywQDgBb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mywQDgBb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E10C4C32786; Fri, 2 Aug 2024 00:34:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722558860; bh=dQ40J4b/wSpKgjjEfA9lJ+zUfFA7GoFIjkpYH+ASOk0=; h=Date:From:To:Cc:Subject:Reply-To:From; b=mywQDgBb9CY1pcKthkh2O6SHWQjGgcTgik9DKbonNdD4gAukKfhcciZynPSkMLvPT AWStATYOT0360e9jGyuRE4AsbaKTwRC8zEHhP8YUjFWpuS/v1v8wtpZ/jPLMEVeox9 ughYKauYm6oR994do9cnbcVkXBBWX5eB6X9s1ahSZMJWz8d1Qoj8BS06S1s+S8V25x nkx8bVr0w+dCQ+b9aR//MeFXdE7ijHQfB6g731e29POBCSpid4EEGW9lOig/+K1Njm 3NO3sDRBOJQxUgnjLjXtD90blSrff+8AqWHCcX+xXrgwa9jmgfzNXIOAqMZvOkeIS6 9BJNan9OVXEag== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 76DC3CE09F8; Thu, 1 Aug 2024 17:34:20 -0700 (PDT) Date: Thu, 1 Aug 2024 17:34:20 -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/6] Add RCU Tasks diagnostics and documentation Message-ID: <41c68c6b-2c55-4c2d-ab70-f2a5b38eb374@paulmck-laptop> Reply-To: paulmck@kernel.org Precedence: bulk X-Mailing-List: rcu@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline Hello! This series adds RCU Tasks diagnostics and documentation: 1. Check processor-ID assumptions. 2. Update rtp->tasks_gp_seq comment. 3. Provide rcu_barrier_cb_is_done() to check rcu_barrier() CBs. 4. Mark callbacks not currently participating in barrier operation. 5. Add detailed grace-period and barrier diagnostics. 6. Add rcu_barrier_tasks*() start time to diagnostics. Thanx, Paul ------------------------------------------------------------------------ b/include/linux/rcupdate.h | 3 + b/kernel/rcu/rcu.h | 5 +++ b/kernel/rcu/tasks.h | 1 kernel/rcu/tasks.h | 75 ++++++++++++++++++++++++++++++++++++++++++--- 4 files changed, 79 insertions(+), 5 deletions(-)