Skip to content

Commit c4e4c65

Browse files
author
root
committed
*** empty log message ***
1 parent f7ca146 commit c4e4c65

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ev.c

+1-6
Original file line numberDiff line numberDiff line change
@@ -3050,19 +3050,14 @@ ecb_cold
30503050
unsigned int
30513051
ev_embeddable_backends (void) EV_NOEXCEPT
30523052
{
3053-
int flags = EVBACKEND_EPOLL | EVBACKEND_KQUEUE | EVBACKEND_PORT;
3053+
int flags = EVBACKEND_EPOLL | EVBACKEND_KQUEUE | EVBACKEND_PORT | EVBACKEND_IOURING;
30543054

30553055
/* epoll embeddability broken on all linux versions up to at least 2.6.23 */
30563056
if (ev_linux_version () < 0x020620) /* disable it on linux < 2.6.32 */
30573057
flags &= ~EVBACKEND_EPOLL;
30583058

30593059
/* EVBACKEND_LINUXAIO is theoretically embeddable, but suffers from a performance overhead */
30603060

3061-
/* EVBACKEND_IOURING is practically embeddable, but the current implementation is not
3062-
* because our backend_fd is the epoll fd we need as fallback.
3063-
* if the kernel ever is fixed, this might change...
3064-
*/
3065-
30663061
return flags;
30673062
}
30683063

0 commit comments

Comments
 (0)