Re: [PATCH v5 13/14] epoll: implement epoll_create2() syscall
From: Eric Wong
Date: Tue Jun 25 2019 - 14:29:22 EST
Roman Penyaev <rpenyaev@xxxxxxx> wrote:
> epoll_create2() is needed to accept EPOLL_USERPOLL flags
> and size, i.e. this patch wires up polling from userspace.
Instead of adding a new syscall, is setting size (and/or even
the EPOLL_USEREPOLL flag) something that could be done via
There's no race like CLOEXEC to worry about and it's not
going to be in a hot path where the extra syscall matters.
glibc won't need to increase in .so size, either.