]> www.infradead.org Git - users/jedix/linux-maple.git/commit
context_tracking, rcu: Rename rcu_dynticks_curr_cpu_in_eqs() into rcu_is_watching_cur...
authorValentin Schneider <vschneid@redhat.com>
Tue, 16 Apr 2024 09:01:23 +0000 (11:01 +0200)
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>
Thu, 15 Aug 2024 16:00:42 +0000 (21:30 +0530)
commitfda70207135b60dd1a7c8f16cc036bb1cc344490
tree4c137e09a3edf02537b21a01df318261034266f8
parentb1b91fd1bece511dfe05d41675c624a4506e409d
context_tracking, rcu: Rename rcu_dynticks_curr_cpu_in_eqs() into rcu_is_watching_curr_cpu()

The context_tracking.state RCU_DYNTICKS subvariable has been renamed to
RCU_WATCHING, reflect that change in the related helpers.

Note that "watching" is the opposite of "in EQS", so the negation is lifted
out of the helper and into the callsites.

Signed-off-by: Valentin Schneider <vschneid@redhat.com>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
include/linux/context_tracking.h
kernel/context_tracking.c
kernel/rcu/tree.c