Skip to contentSkip to conversation

usb: gadget: u_serial: process RX in workqueue instead of tasklet

DISCUSSION Felipe Balbi 1 participant 1 message Dec 17, 2018 USB

lore
Share & tools
lore
#0 lore raw

Hi,

Quoted 8 lines · Michał Mirosław

Switch RX processing from tasklet to (delayed) work queue. This allows receiver more room to process incoming data and prevents flood of "ttyGS0: RX not scheduled?" messages on HS receive on slow CPU.

A side effect is 2.4MB/s zmodem transfer speed (up from 1.8MB/s) on my test board.

how have you tested this? Specially, how have you measured throughput? I want to try and reproduce it here.