diff options
author | Paul E. McKenney | 2016-01-31 06:32:09 +0100 |
---|---|---|
committer | Paul E. McKenney | 2016-03-31 22:39:47 +0200 |
commit | 620316e52a923811fe9a77ceb43eebf5f507d375 (patch) | |
tree | c5f6cea89e511b348ed11bb18e707dfa260cbe8e /tools/testing/selftests/rcutorture | |
parent | rcutorture: Add rcuperf holdoff boot parameter to reduce interference (diff) | |
download | kernel-qcow2-linux-620316e52a923811fe9a77ceb43eebf5f507d375.tar.gz kernel-qcow2-linux-620316e52a923811fe9a77ceb43eebf5f507d375.tar.xz kernel-qcow2-linux-620316e52a923811fe9a77ceb43eebf5f507d375.zip |
rcutorture: Avoid RCU CPU stall warning and RT throttling
Running rcuperf can result in RCU CPU stall warnings and RT throttling.
These occur because on of the real-time writer processes does
ftrace_dump() while still running at real-time priority. This commit
therefore prevents these problems by setting the writer thread back to
SCHED_NORMAL (AKA SCHED_OTHER) before doing ftrace_dump().
In addition, this commit adds a small fixed delay before dumping ftrace
buffer in order to decrease the probability that this dumping will
interfere with other writers' grace periods.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/testing/selftests/rcutorture')
0 files changed, 0 insertions, 0 deletions