diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-06-22 14:35:59 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-08-01 14:30:22 -0700 |
commit | bd1bfc51a36f334270b886db6d8467e55fe294ca (patch) | |
tree | 5c27c53514cc90778142b15aa53d07fbb05787b1 /kernel/torture.c | |
parent | f4e8352928587ef8772df3d269a328efa609daaa (diff) | |
download | linux-bd1bfc51a36f334270b886db6d8467e55fe294ca.tar.bz2 |
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