io_uring: add io_req_local_work_add wake fast path
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 9 Jan 2023 14:46:12 +0000 (14:46 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 29 Jan 2023 22:17:40 +0000 (15:17 -0700)
commitd80c0f00d04766972c95e72b7535a842d6f4680d
tree59753e0aec0e73219893a276bc1773b56ccfcf98
parent130bd686d9be918e4cc8c03abf5794ba2d860502
io_uring: add io_req_local_work_add wake fast path

Don't wake the master task after queueing a deferred tw unless it's
currently waiting in io_cqring_wait.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/717702d772825a6647e6c315b4690277ba84c3fc.1673274244.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h
io_uring/io_uring.c