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

From: Roman Penyaev
Date: Tue May 05 2020 - 16:58:04 EST


On 2020-05-05 22:03, Andrew Morton wrote:
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

This one from Khazhismel is needed. Others are complementary to the
Khazhismel's, except the "epoll: ensure ep_poll() doesn't miss
wakeup events", which you've already removed.

Thanks.

--
Roman