[RFC PATCH] Input: evdev - drop redundant list-locking

2014-07-20 Thread David Herrmann
evdev-client_list is rcu-protected. There is no need to have a separate spinlock just for the list. Either one is good enough, so lets drop the spinlock. Signed-off-by: David Herrmann dh.herrm...@gmail.com --- Hi I stumbled across this one when doing some evdev reviews. Maybe I'm missing

Re: [RFC PATCH] Input: evdev - drop redundant list-locking

2014-07-20 Thread Dmitry Torokhov
On Sun, Jul 20, 2014 at 08:48:12PM +0200, David Herrmann wrote: evdev-client_list is rcu-protected. There is no need to have a separate spinlock just for the list. Either one is good enough, so lets drop the spinlock. Signed-off-by: David Herrmann dh.herrm...@gmail.com --- Hi I stumbled

Re: [RFC PATCH] Input: evdev - drop redundant list-locking

2014-07-20 Thread Dmitry Torokhov
On Sun, Jul 20, 2014 at 09:00:02PM +0200, David Herrmann wrote: Hi On Sun, Jul 20, 2014 at 8:54 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Sun, Jul 20, 2014 at 08:48:12PM +0200, David Herrmann wrote: evdev-client_list is rcu-protected. There is no need to have a separate