From: Haiyang Zhang Date: Fri, 27 Mar 2015 16:10:14 +0000 (-0700) Subject: hv_vmbus: Add gradually increased delay for retries in vmbus_post_msg() X-Git-Tag: omap-for-v4.1/fixes-rc1~73^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1c0d82dab4a4605d3bd1968436f030dfed4a829;p=pandora-kernel.git 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 Reviewed-by: K. Y. Srinivasan Reviewed-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed