summaryrefslogtreecommitdiffstats
path: root/Documentation/xtensa
diff options
context:
space:
mode:
authorSaurabh Sengar <ssengar@linux.microsoft.com>2022-07-25 11:37:28 +0200
committerWei Liu <wei.liu@kernel.org>2022-09-23 11:27:17 +0200
commit78c65f0f3c0ca5198b454f59069a1c2e352424dd (patch)
tree26b2f1343454921ad4d62682500f6eb6038b4fc1 /Documentation/xtensa
parentLinux 6.0-rc6 (diff)
downloadlinux-78c65f0f3c0ca5198b454f59069a1c2e352424dd.tar.xz
linux-78c65f0f3c0ca5198b454f59069a1c2e352424dd.zip
Drivers: hv: vmbus: Optimize vmbus_on_event
In the vmbus_on_event loop, 2 jiffies timer will not serve the purpose if callback_fn takes longer. For effective use move this check inside of callback functions where needed. Out of all the VMbus drivers using vmbus_on_event, only storvsc has a high packet volume, thus add this limit only in storvsc callback for now. There is no apparent benefit of loop itself because this tasklet will be scheduled anyway again if there are packets left in ring buffer. This patch removes this unnecessary loop as well. Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Link: https://lore.kernel.org/r/1658741848-4210-1-git-send-email-ssengar@linux.microsoft.com Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'Documentation/xtensa')
0 files changed, 0 insertions, 0 deletions