diff options
author | 2019-06-22 14:35:59 -0700 | |
---|---|---|
committer | 2019-08-01 14:30:22 -0700 | |
commit | bd1bfc51a36f334270b886db6d8467e55fe294ca (patch) | |
tree | 5c27c53514cc90778142b15aa53d07fbb05787b1 /kernel/rcu/tree_plugin.h | |
parent | rcutorture: Test TREE03 with the threadirqs kernel boot parameter (diff) | |
download | wireguard-linux-bd1bfc51a36f334270b886db6d8467e55fe294ca.tar.xz wireguard-linux-bd1bfc51a36f334270b886db6d8467e55fe294ca.zip |
rcutorture: Emulate userspace sojourn during call_rcu() floods
During an actual call_rcu() flood, there would be frequent trips to
userspace (in-kernel call_rcu() floods must be otherwise housebroken).
Userspace execution allows a great many things to interrupt execution,
and rcutorture needs to also allow such interruptions. This commit
therefore causes call_rcu() floods to occasionally invoke schedule(),
thus preventing spurious rcutorture failures due to other parts of the
kernel becoming irate at the call_rcu() flood events.
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'kernel/rcu/tree_plugin.h')
0 files changed, 0 insertions, 0 deletions