io_uring: avoid indirect function calls for the hottest task_work
[linux-block.git] / io_uring / poll.h
index b2393b403a2c21014d5c648cc244a707748cb02a..ff4d5d753387e80568ccc90734732d6cb999b39e 100644 (file)
@@ -38,3 +38,5 @@ bool io_poll_remove_all(struct io_ring_ctx *ctx, struct task_struct *tsk,
                        bool cancel_all);
 
 void io_apoll_cache_free(struct io_cache_entry *entry);
+
+void io_poll_task_func(struct io_kiocb *req, struct io_tw_state *ts);