diff options
| author | Davidlohr Bueso <[email protected]> | 2021-01-10 20:28:55 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-01-12 12:52:28 +0100 |
| commit | 8653d71ce3763aedcf3d2331f59beda3fecd79e4 (patch) | |
| tree | c7b041caeb00e3466c430d4280247148cc8b3812 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 0c0a20f6da04780b94e3ccc43101dde6f536ab37 (diff) | |
usb/gadget: f_midi: Replace tasklet with work
Currently a tasklet is used to transmit input substream buffer
data. However, tasklets have long been deprecated as being too
heavy on the system by running in irq context - and this is not
a performance critical path. If a higher priority process wants
to run, it must wait for the tasklet to finish before doing so.
Deferring work to a workqueue and executing in process context
should be fine considering the callback already does
f_midi_do_transmit() under the transmit_lock and thus changes in
semantics are ok regarding concurrency - tasklets being serialized
against itself.
Cc: Takashi Iwai <[email protected]>
Reviewed-by: Takashi Iwai <[email protected]>
Acked-by: Felipe Balbi <[email protected]>
Signed-off-by: Davidlohr Bueso <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions