Re: [PATCH] Input: evdev - per-client waitgroups
From: dmitry . torokhov
Date: Mon Oct 05 2020 - 19:35:05 EST
Hi Kenny,
On Wed, Apr 29, 2020 at 08:41:26PM +0200, Kenny Levinsen wrote:
> All evdev clients share a common waitgroup. On new input events, this
> waitgroup is woken once for every client that did not filter the events,
I am having trouble parsing the changelog (I think I agree with the
change itself). Did you mean to say "this waitqueue wakes up every
client, even ones that requested to filter out events that are being
delivered, leading to duplicated and unwanted wakeups"?
> leading to duplicated and unwanted wakeups.
>
> Split the shared waitgroup into per-client waitgroups for more
> fine-grained wakeups.
>
Thanks.
--
Dmitry