LKML Archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] fs/epoll: restore user-visible behavior upon event ready
@ 2021-04-05 23:10 Davidlohr Bueso
  2021-04-05 23:10 ` [PATCH 1/2] kselftest: introduce new epoll test case Davidlohr Bueso
  2021-04-05 23:10 ` [PATCH 2/2] fs/epoll: restore waking from ep_done_scan() Davidlohr Bueso
  0 siblings, 2 replies; 6+ messages in thread
From: Davidlohr Bueso @ 2021-04-05 23:10 UTC (permalink / raw)
  To: akpm; +Cc: jbaron, rpenyaev, viro, linux-fsdevel, linux-kernel, dave

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-04-06  5:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 23:10 [PATCH 0/2] fs/epoll: restore user-visible behavior upon event ready Davidlohr Bueso
2021-04-05 23:10 ` [PATCH 1/2] kselftest: introduce new epoll test case Davidlohr Bueso
2021-04-05 23:10 ` [PATCH 2/2] fs/epoll: restore waking from ep_done_scan() Davidlohr Bueso
2021-04-06  1:50   ` Andrew Morton
2021-04-06  3:22     ` Davidlohr Bueso
2021-04-06  5:09       ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).