Thread (4 messages) 4 messages, 3 authors, 2015-08-26

Re: [PATCHv2] Input: xpad - Fix double URB submission races

flat view

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2015-08-21 16:51:04
Also in: lkml

Hi Laura,

On Mon, Aug 10, 2015 at 05:26:12PM -0700, Laura Abbott wrote:
v2: Created a proper queue for events instead of just dropping them
How long does it take for the queue to exhaust your memory if you keep
bombarding the driver with requests?

I do not think you need a queue. I believe the nature of LEDs and rumble
force feedback effect is such that you can discard all requests but the
latest that arrived between the moment you submitted a request to the
device and the moment you are ready submit a new one.

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help