[Bug 278365] Linuxulator is missing EPOLLEXCLUSIVE support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Apr 2024 16:23:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278365
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 that
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?
--
You are receiving this mail because:
You are the assignee for the bug.