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

Input: evdev - use keyed wakeups



Some processes, such as systemd, are only polling for EPOLLERR|EPOLLHUP.
As evdev uses unkeyed wakeups, such a poll receives many spurious
wakeups from uninteresting events.

Use keyed wakeups to allow the wakeup target to more efficiently discard
these uninteresting events.

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


Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent ec4ba6c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment