Skip to content

fs/epoll: restore user-visible behavior upon event ready

Davidlohr Bueso linux-fsdevel lkml 1 version Applied

Status from this message: [merged] fs-epoll-restore-waking-from-ep_done_scan.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2kselftest: introduce new epoll test casetools/testing/selftests/filesystems/epoll/epoll_wakeup_test.c+44 -00 repliesApplied
2/2fs/epoll: restore waking from ep_done_scan()fs/eventpoll.c+6 -03 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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