Skip to content
Commit bd1bfc51 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent f4e83529
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment