Linux filesystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] eventpoll: Fix epoll_wait() report false negative
@ 2026-05-30  9:37 Nam Cao
  2026-05-30  9:37 ` [PATCH v2 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-05-30  9:37 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.

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-02 13:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-30  9:37 [PATCH v2 0/2] eventpoll: Fix epoll_wait() report false negative Nam Cao
2026-05-30  9:37 ` [PATCH v2 1/2] selftests/eventpoll: Add test for multiple waiters Nam Cao
2026-05-30  9:37 ` [PATCH v2 2/2] eventpoll: Fix epoll_wait() report false negative Nam Cao
2026-06-02 13:20 ` [PATCH v2 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