On Fri, Jan 11, 2019 at 10:51 AM Roman Penyaev <rpenyaev@xxxxxxx> wrote: > > Hi Jens, > > That is interesting. Recently I sent an rfc related to epoll uring: > > https://lore.kernel.org/lkml/20190109164025.24554-1-rpenyaev@xxxxxxx > > which can be mapped to userspace and all ready events can be consumed > from it directly. I am wondering, is it possible to make some common > API for all kind of ready events / urings, or it doesn't make any > sense? I think you can use the new IOCB_CMD_POLL from Christoph and avoid epoll_wait() in favor of aio/io_uring interface, at least in new high performance applications. Reaping events entirely in userspace (i.e. performing io_getevents() without entering the kernel) has been possible for a long time even with the existing aio interface. Thanks, Ilya