diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2017-03-05 02:27:10 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-17 07:10:48 +0100 |
commit | ada6eb11137be0baf846e00fca40fc096ba85a28 (patch) | |
tree | 1f90b8b57ba287681d804e426f1b01e9ec2c741f /crypto | |
parent | fpga: bridge: Replace open-coded list_for_each + list_entry (diff) | |
download | linux-ada6eb11137be0baf846e00fca40fc096ba85a28.tar.xz linux-ada6eb11137be0baf846e00fca40fc096ba85a28.zip |
vmbus: only reschedule tasklet if time limit exceeded
The change to reschedule tasklet if more data arrives in ring buffer
can cause performance regression if host timing is such that the
next response happens in small window.
Go back to a modified version of the original looping behavior.
If the race occurs in a small time, then loop. But if the tasklet
has been running for a long interval due to flood, then reschedule
the tasklet to allow migration to ksoftirqd.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions