summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2015-11-20 20:17:18 +0300
committerDavid S. Miller <davem@davemloft.net>2015-11-23 20:36:08 +0300
commit9e9089e5a2d788db417d4d1f836eecc2fc44e9ff (patch)
tree1df8e958d5c651c8be292903989c349d1847b5ce /tools/perf/scripts/python/call-graph-from-postgresql.py
parentcd5b318daf4aecd249c3f07df93700c0f749484c (diff)
downloadlinux-9e9089e5a2d788db417d4d1f836eecc2fc44e9ff.tar.xz
rhashtable-test: retry insert operations
After adding cond_resched() calls to threadfunc(), a surprisingly high rate of insert failures occurred probably due to table resizes getting a better chance to run in background. To not soften up the remaining tests, retry inserts until they either succeed or fail permanently. Also change the non-threaded test to retry insert operations, too. Suggested-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions