aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/torture.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2019-06-22 14:35:59 -0700
committerPaul E. McKenney <paulmck@linux.ibm.com>2019-08-01 14:30:22 -0700
commitbd1bfc51a36f334270b886db6d8467e55fe294ca (patch)
tree5c27c53514cc90778142b15aa53d07fbb05787b1 /kernel/torture.c
parentrcutorture: Test TREE03 with the threadirqs kernel boot parameter (diff)
downloadlinux-dev-bd1bfc51a36f334270b886db6d8467e55fe294ca.tar.xz
linux-dev-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/torture.c')
0 files changed, 0 insertions, 0 deletions