mbox series

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

Message ID 20210405231025.33829-1-dave@stgolabs.net (mailing list archive)
Headers show
Series fs/epoll: restore user-visible behavior upon event ready | expand

Message

Davidlohr Bueso April 5, 2021, 11:10 p.m. UTC
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