[PATCH 0/2] fs/epoll: restore user-visible behavior upon event ready

From: Davidlohr Bueso
Date: Mon Apr 05 2021 - 19:10:47 EST


Hi,

This series tries to address a change in user visible behavior,
reported in:

https://bugzilla.kernel.org/show_bug.cgi?id=208943


Epoll does not report an event to all the threads running epoll_wait()
on the same epoll descriptor. Unsurprisingly, this was bisected back to
339ddb53d373 (fs/epoll: remove unnecessary wakeups of nested epoll), which
has had various problems in the past, beyond only nested epoll usage.

Thanks!

Davidlohr Bueso (2):
kselftest: introduce new epoll test case
fs/epoll: restore waking from ep_done_scan()

fs/eventpoll.c | 6 +++
.../filesystems/epoll/epoll_wakeup_test.c | 44 +++++++++++++++++++
2 files changed, 50 insertions(+)

--
2.26.2