Re: [PATCH 1/1] epoll: call final ep_events_available() check under the lock

From: Andrew Morton
Date: Tue May 05 2020 - 16:03:59 EST


On Tue, 05 May 2020 10:42:05 +0200 Roman Penyaev <rpenyaev@xxxxxxx> wrote:

> May I ask you to remove "epoll: ensure ep_poll() doesn't miss wakeup
> events" from your -mm queue? Jason lately found out that the patch
> does not fully solve the problem and this one patch is a second
> attempt to do things correctly in a different way (namely to do
> the final check under the lock). Previous changes are not needed.

Where do we stand with Khazhismel's "eventpoll: fix missing wakeup for
ovflist in ep_poll_callback"?

http://lkml.kernel.org/r/20200424190039.192373-1-khazhy@xxxxxxxxxx