io_uring: don't take ctx refs in task_work handler
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 19 Mar 2021 17:22:29 +0000 (17:22 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 4 Apr 2021 21:27:19 +0000 (15:27 -0600)
commitf4a603427b8853a8f0c9d332a4ab76500ca6f0a1
tree8e5b18959efec37b253245e5598f89bf2f100c74
parentc3475f6ee9f077e5824bb027276c84ac60a0f037
io_uring: don't take ctx refs in task_work handler

__tctx_task_work() guarantees that ctx won't be killed while running
task_works, so we can remove now unnecessary ctx pinning for internally
armed polling.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c