Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2024 16:23:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 278365] Linuxulator is missing EPOLLEXCLUSIVE support
Message-ID:  <bug-278365-4077-B5kfgPsrvc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278365-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278365-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278365

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
>From Linux's epoll_ctl man page:

              Sets an exclusive wakeup mode for the epoll file
              descriptor that is being attached to the target file
              descriptor, fd.  When a wakeup event occurs and multiple
              epoll file descriptors are attached to the same target
              file using EPOLLEXCLUSIVE, one or more of the epoll file
              descriptors will receive an event with epoll_wait(2).  The
              default in this scenario (when EPOLLEXCLUSIVE is not set)
              is for all epoll file descriptors to receive an event.
              EPOLLEXCLUSIVE is thus useful for avoiding thundering herd
              problems in certain scenarios.

"one or more of the epoll file descriptors will receive an event" implies t=
hat
we may be able to provide a naive but conforming implementation that just
ignores the flag (at least initially). Are you able to apply a patch, build=
 a
kernel, and test?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278365-4077-B5kfgPsrvc>