Skip to content

usb: gadget: dummy_hcd: Switch to hrtimers for better performance

Marcello Sylvester Bauer linux-usb lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchAlan Stern
SeriesR-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/2] usb: gadget: dummy_hcd: Switch to hrtimers for better performance

About 10 years ago, there was a discussion about the poor performance of dummy_hcd due to the use of jiffies instead of hrtimers [1]. There was a proposal to switch to hrtimers, but the patch never made it into the mainline, and I cannot figure out why.

This patch set brings the idea back to the mailing list with the intention of improving the overall performance of this driver.

[1](https://linux-usb.vger.kernel.narkive.com/Fdt5oBR8/dummy-hcd-performance-correctness)

Marcello Sylvester Bauer (2):
usb: gadget: dummy_hcd: Switch to hrtimer transfer scheduler
usb: gadget: dummy_hcd: Set transfer interval to 1 microframe

 drivers/usb/gadget/udc/dummy_hcd.c | 37 ++++++++++++++++++------------
 1 file changed, 22 insertions(+), 15 deletions(-)
Signature · 1 line
2.44.0