Re: PROBLEM: epoll_wait() does not return events when running in multiple threads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 10, 2020 at 12:48:34PM +0300, Sergey Nikitin wrote:
> Hi!
> 
> epoll does not report an event to all the threads running epoll_wait() on
> the same epoll descriptor.
> The behavior appeared in recent kernel versions starting with 5.6 probably.
> 
> How to reproduce:
> - create a pair of sockets
> - create epoll instance
> - register the socket on the epoll instance, listen for EPOLLIN events
> - start 2 threads running epoll_wait()
> - send some data to the socket
> - see that epoll_wait() within one of the threads reported an event, unlike
> another.

Could you reproduce it on mainline kernel and try to bisect it?



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux