mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] eventpoll: Fix epoll_wait() report false negative
@ 2026-06-02 17:51 Nam Cao
  2026-06-02 17:51 ` [PATCH v3 1/2] selftests/eventpoll: Add test for multiple waiters Nam Cao
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nam Cao @ 2026-06-02 17:51 UTC (permalink / raw)
  To: Christian Brauner, Alexander Viro, Jan Kara, Shuah Khan,
	Davidlohr Bueso, Soheil Hassas Yeganeh, Mateusz Guzik,
	David Laight, linux-fsdevel, linux-kernel, linux-kselftest
  Cc: Nam Cao

Hi,

While staring at epoll, I noticed ep_events_available() looks wrong. I
wrote a small program to confirm, and yes it is definitely wrong.

This series adds a reproducer to kselftest, and fix the bug.

v3: rebase onto vfs tree
v2: Switch to seqlock solution

Nam Cao (2):
  selftests/eventpoll: Add test for multiple waiters
  eventpoll: Fix epoll_wait() report false negative

 fs/eventpoll.c                                | 20 ++++++++-
 .../filesystems/epoll/epoll_wakeup_test.c     | 45 +++++++++++++++++++
 2 files changed, 64 insertions(+), 1 deletion(-)

-- 
2.47.3


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

end of thread, other threads:[~2026-06-04  8:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-02 17:51 [PATCH v3 0/2] eventpoll: Fix epoll_wait() report false negative Nam Cao
2026-06-02 17:51 ` [PATCH v3 1/2] selftests/eventpoll: Add test for multiple waiters Nam Cao
2026-06-02 17:51 ` [PATCH v3 2/2] eventpoll: Fix epoll_wait() report false negative Nam Cao
2026-06-04  8:25 ` [PATCH v3 0/2] " Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox