diff options
| author | Phil Sutter <[email protected]> | 2015-11-20 18:17:18 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-11-23 12:36:08 -0500 |
| commit | 9e9089e5a2d788db417d4d1f836eecc2fc44e9ff (patch) | |
| tree | 1df8e958d5c651c8be292903989c349d1847b5ce /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | cd5b318daf4aecd249c3f07df93700c0f749484c (diff) | |
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 <[email protected]>
Signed-off-by: Phil Sutter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions