All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] usb: gadget: dummy_hcd: Switch to hrtimers for better performance
@ 2024-04-11 15:22 Marcello Sylvester Bauer
  2024-04-11 15:22   ` Marcello Sylvester Bauer
  2024-04-11 15:22   ` Marcello Sylvester Bauer
  0 siblings, 2 replies; 7+ messages in thread
From: Marcello Sylvester Bauer @ 2024-04-11 15:22 UTC (permalink / raw)
  To: linux-kernel, linux-usb
  Cc: Greg Kroah-Hartman, Marcello Sylvester Bauer, Matthias Stoeckl,
	Uwe Kleine-Koenig, Marcello Sylvester Bauer

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(-)

-- 
2.44.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-11 16:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11 15:22 [PATCH v1 0/2] usb: gadget: dummy_hcd: Switch to hrtimers for better performance Marcello Sylvester Bauer
2024-04-11 14:51 ` [PATCH v1 1/2] usb: gadget: dummy_hcd: Switch to hrtimer transfer scheduler Marcello Sylvester Bauer
2024-04-11 15:22   ` Marcello Sylvester Bauer
2024-04-11 16:30   ` Alan Stern
2024-04-11 14:51 ` [PATCH v1 2/2] usb: gadget: dummy_hcd: Set transfer interval to 1 microframe Marcello Sylvester Bauer
2024-04-11 15:22   ` Marcello Sylvester Bauer
2024-04-11 16:21   ` Alan Stern

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.