summaryrefslogtreecommitdiff
path: root/include/linux/rcutiny.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2019-08-04 13:17:35 -0700
committerPaul E. McKenney <paulmck@kernel.org>2019-10-05 10:46:05 -0700
commit79ba7ff5a9925f5c170f51ed7a96d1475eb6c27f (patch)
treebbc1dd08082d1b70a578c253ca1759ca2d61a4e5 /include/linux/rcutiny.h
parent96926686deab853bcacf887501f4ed958e38666b (diff)
downloadlwn-79ba7ff5a9925f5c170f51ed7a96d1475eb6c27f.tar.gz
lwn-79ba7ff5a9925f5c170f51ed7a96d1475eb6c27f.zip
rcutorture: Emulate dyntick aspect of userspace nohz_full sojourn
During an actual call_rcu() flood, there would be frequent trips to userspace (in-kernel call_rcu() floods must be otherwise housebroken). Userspace execution on nohz_full CPUs implies an RCU dyntick idle/not-idle transition pair, so this commit adds emulation of that pair. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'include/linux/rcutiny.h')
-rw-r--r--include/linux/rcutiny.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rcutiny.h b/include/linux/rcutiny.h
index 9bf1dfe7781f..37b6f0c2b79d 100644
--- a/include/linux/rcutiny.h
+++ b/include/linux/rcutiny.h
@@ -84,6 +84,7 @@ static inline void rcu_scheduler_starting(void) { }
#endif /* #else #ifndef CONFIG_SRCU */
static inline void rcu_end_inkernel_boot(void) { }
static inline bool rcu_is_watching(void) { return true; }
+static inline void rcu_momentary_dyntick_idle(void) { }
/* Avoid RCU read-side critical sections leaking across. */
static inline void rcu_all_qs(void) { barrier(); }