Patch "Drivers: hv: vmbus: Reduce the delay between retries in vmbus_post_msg()" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
Drivers: hv: vmbus: Reduce the delay between retries in vmbus_post_msg()
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drivers-hv-vmbus-reduce-the-delay-between-retries-in-vmbus_post_msg.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
8de0d7e951826d7592e0ba1da655b175c4aa0923Mon Sep 17 00:00:00 2001
From: "K. Y. Srinivasan" <[email protected]>
Date: Fri, 1 Jul 2016 16:26:36 -0700
Subject: Drivers: hv: vmbus: Reduce the delay between retries in vmbus_post_msg()
From: K. Y. Srinivasan <[email protected]>
commit 8de0d7e951826d7592e0ba1da655b175c4aa0923 upstream.
The current delay between retries is unnecessarily high and is negatively affecting the time it takes to boot the system.
--- drivers/hv/connection.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/hv/connection.c +4 -4
@@ -429,7 +429,7 @@ int vmbus_post_msg(void *buffer, size_tunion hv_connection_id conn_id;int ret =0 ;int retries =0 ; -u32 msec =1 ; +u32 usec =1 ; conn_id.asu32 =0 ; conn_id.u.id =VMBUS_MESSAGE_CONNECTION_ID ;
@@ -462,9 +462,9 @@ int vmbus_post_msg(void *buffer, size_t } retries++; -msleep (msec); -if (msec <2048 ) - msec *=2 ; +udelay (usec); +if (usec <2048 ) + usec *=2 ; }return ret; }
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/drivers-hv-get-rid-of-timeout-in-vmbus_open.patch queue-4.4/drivers-hv-don-t-leak-memory-in-vmbus_establish_gpadl.patch queue-4.4/drivers-hv-vmbus-reduce-the-delay-between-retries-in-vmbus_post_msg.patch