diff options
author | 2018-07-04 14:14:42 -0700 | |
---|---|---|
committer | 2018-08-29 09:20:48 -0700 | |
commit | 444da518fd554eb1b9875dc97fac6ec249cee330 (patch) | |
tree | 66b30935a20522ea61e26fba47184b15c8173737 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | torture: Stop overwriting Make.out file with obsolete version (diff) | |
download | linux-dev-444da518fd554eb1b9875dc97fac6ec249cee330.tar.xz linux-dev-444da518fd554eb1b9875dc97fac6ec249cee330.zip |
rcutorture: Force occasional reader waits
Deferred quiescent states can interact with the scheduler, but
rcu_torture_reader() does not force such interaction all that frequently.
This commit therefore blocks for one jiffy after ten jiffies of read-side
runtime. This has the beneficial effect of being most likely to block
just after long-running readers, and it is exactly these readers that
are most likely to have been preempted (in CONFIG_PREEMPT=y kernels).
This in turn helps increase the probability that a deferred quiescent
state will be seen by RCU's context-switch hooks.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions