1-2 are are small improvements The rest moves all poll update into IORING_OP_POLL_REMOVE, see 5/5 for justification. v2: fix io_poll_remove_one() on the remove request, not the one we cancel. Pavel Begunkov (5): io_uring: improve sqpoll event/state handling io_uring: refactor io_ring_exit_work() io_uring: fix POLL_REMOVE removing apoll io_uring: add helper for parsing poll events io_uring: move poll update into remove not add fs/io_uring.c | 197 ++++++++++++++++++++++++-------------------------- 1 file changed, 94 insertions(+), 103 deletions(-) -- 2.24.0