Skip to content
Commit 4ba8b8ae authored by Kenny Levinsen's avatar Kenny Levinsen Committed by Dmitry Torokhov
Browse files

Input: evdev - per-client waitgroups



All evdev clients share a common waitgroup. On new input events, all
clients waiting on this waitgroup are woken up, even those filtering out
the events, possibly more than once per event. This leads to duplicated
and unwanted wakeups.

Split the shared waitgroup into per-client waitgroups for more
fine-grained wakeups.

Signed-off-by: default avatarKenny Levinsen <kl@kl.wtf>
Link: https://lore.kernel.org/r/20200429184126.2155-1-kl@kl.wtf


Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 470d154a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment