OSDN Git Service

rcutorture: Emulate dyntick aspect of userspace nohz_full sojourn
authorPaul E. McKenney <paulmck@kernel.org>
Sun, 4 Aug 2019 20:17:35 +0000 (13:17 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Sat, 5 Oct 2019 17:46:05 +0000 (10:46 -0700)
commit79ba7ff5a9925f5c170f51ed7a96d1475eb6c27f
treebbc1dd08082d1b70a578c253ca1759ca2d61a4e5
parent96926686deab853bcacf887501f4ed958e38666b
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>
include/linux/rcutiny.h
kernel/rcu/rcutorture.c
kernel/rcu/tree.c