aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorHaiyang Zhang <[email protected]>2015-03-27 09:10:14 -0700
committerGreg Kroah-Hartman <[email protected]>2015-04-03 16:18:02 +0200
commite1c0d82dab4a4605d3bd1968436f030dfed4a829 (patch)
treea56cd6795efdc91310c013a6bb4621947cb937c7 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent0a1a86ac046091d7228c9f3a283dea5be96275dd (diff)
hv_vmbus: Add gradually increased delay for retries in vmbus_post_msg()
Most of the retries can be done within a millisecond successfully, so we sleep 1ms before the first retry, then gradually increase the retry interval to 2^n with max value of 2048ms. Doing so, we will have shorter overall delay time, because most of the cases succeed within 1-2 attempts. Signed-off-by: Haiyang Zhang <[email protected]> Reviewed-by: K. Y. Srinivasan <[email protected]> Reviewed-by: Dexuan Cui <[email protected]> Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions