From patchwork Fri Aug 16 04:02:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neeraj Upadhyay X-Patchwork-Id: 13765418 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 E5C1654F87; Fri, 16 Aug 2024 04:06: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=1723781182; cv=none; b=Ef7Ro2irpPkdgjweMxLO4oMPr7uM5ceHVtx7YkaWvBH5DdX3DyBG1A7W4jESzN5xJYaDDyyoA8L67gkwMtwzi6ppWf7n+0jWI+Xlmo74ouLEaokgzkrgjwXhHl+1Bgr5JvZQcDTGocGg+A4tBVfDkEfKujUcfJZHhJX3U99eKgk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723781182; c=relaxed/simple; bh=3WRner0RMhGFgnkPtCcFs9g6yG8s5bs0mSd98/aW7I0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=AwZL4cJlZfDKK46wNK+Ytb5kGkHTN+A/sSyxY4YycxU1R6VHH+Sp+O1NaQUQuYKnEr1gFJ1gnFZ2l2zaQn7SNtLPEvj/nB+0W2kEOCgvuiY/o7+HrRdYdhiat83+9zxWbRtfGDLEih0upObYlMHm5J4xCswRh1/ghCCgxBqMjqo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ElUiE6sD; 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="ElUiE6sD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FAC6C4AF0B; Fri, 16 Aug 2024 04:06:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723781181; bh=3WRner0RMhGFgnkPtCcFs9g6yG8s5bs0mSd98/aW7I0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ElUiE6sDSBSDn3OiqGnUJOZsCkEvNjTEjW8SgwSF7qWlUVI4XFjJ0wtUuEmOyUVzf tvdX4UjZY9c6zEOIMzLry76HV4qinYwYhqz0PcwEH0MG5u1U19gzT2cHv9RzteHDk3 RiL1aUeDYa10VcWgmB3XvjvpsF7q+RaTPMp0vYJsJ/b8yKMMuHQBR6x9c9aqcC2cmZ 9DN/BUfTAzNyQT08Wz0QrqVqAHVfD4dAPUqeNEh7s2B7lRkfco8sidi8o1nIUJqLHT kncS+CZjCm+nrjKQctLscR/h7Vs/IMRbLFO8aVoDWhGR9rg/E+robBF2fU6Hp3zEXl yNViFP6kgTISQ== From: neeraj.upadhyay@kernel.org To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, paulmck@kernel.org, neeraj.upadhyay@kernel.org, neeraj.upadhyay@amd.com, boqun.feng@gmail.com, joel@joelfernandes.org, urezki@gmail.com, frederic@kernel.org, Valentin Schneider Subject: [PATCH rcu 22/26] rcu: Rename rcu_implicit_dynticks_qs() into rcu_watching_snap_recheck() Date: Fri, 16 Aug 2024 09:32:37 +0530 Message-Id: <20240816040241.17776-22-neeraj.upadhyay@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240816040030.GA16986@neeraj.linux> References: <20240816040030.GA16986@neeraj.linux> Precedence: bulk X-Mailing-List: rcu@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Valentin Schneider The context_tracking.state RCU_DYNTICKS subvariable has been renamed to RCU_WATCHING, drop the dyntick reference and update the name of this helper to express that it rechecks rdp->watching_snap after an earlier rcu_watching_snap_save(). Signed-off-by: Valentin Schneider Reviewed-by: Frederic Weisbecker Signed-off-by: Neeraj Upadhyay --- Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg | 2 +- Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp-fqs.svg | 2 +- Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg | 2 +- Documentation/RCU/Design/Memory-Ordering/TreeRCU-hotplug.svg | 2 +- kernel/rcu/tree.c | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg index 13956baf748a..ab9707f04e66 100644 --- a/Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg +++ b/Documentation/RCU/Design/Memory-Ordering/TreeRCU-dyntick.svg @@ -537,7 +537,7 @@ font-style="normal" y="-8368.1475" x="2463.3262" - xml:space="preserve">rcu_implicit_dynticks_qs() + xml:space="preserve">rcu_watching_snap_recheck() rcu_implicit_dynticks_qs() + xml:space="preserve">rcu_watching_snap_recheck() rcu_implicit_dynticks_qs() + xml:space="preserve">rcu_watching_snap_recheck() rcu_implicit_dynticks_qs() + xml:space="preserve">rcu_watching_snap_recheck()