io_uring: wire io_uring specific task work
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 21 Apr 2022 13:44:21 +0000 (14:44 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Apr 2022 14:38:15 +0000 (08:38 -0600)
commit8f1e037c069badd94461e89e717567d038db6084
treee533467d6292496ee6aca6ec82feef209a4b3968
parent807e5cc5f9d7e5df3d5ec680ca170b775c94ebc2
io_uring: wire io_uring specific task work

Instead of relying on task_work infrastructure for io_uring, add
io_uring specific path. This removes 2 cmpxchg and a
spin_[un]lock_irq pair per batch.

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