mbox series

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

Message ID cover.1712843963.git.sylv@sylv.io
Headers show
Series usb: gadget: dummy_hcd: Switch to hrtimers for better performance | expand

Message

Marcello Sylvester Bauer April 11, 2024, 3:22 p.m. UTC
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(-)