Em Mon, 10 Oct 2016 07:44:53 -0400
Michael Ira Krufky escreveu:
> Antti makes a very good point. If we consider a situation where we
> are streaming data while concurrently checking frontend status and
> polling for IR codes, some locking will certainly be required in all
>
Hello
If you use usb buffers from the state you will need add lock in order to
protect concurrent access to buffer. There may have multiple concurrent
operations from rc-polling/demux/frontend. Lets say you are reading ber
and it sets data to buffer (state), then context switch to remote
Sending URB control messages from stack was never supported. Yet, on x86,
the stack was usually at a memory region that allows DMA transfer.
So, several drivers got it wrong. On Kernel 4.9, if VMAP_STACK=y, none of
those drivers will work, as the stack won't be on a DMA-able area anymore.
So,