]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
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, 11 Apr 2021 23:41:58 +0000 (17:41 -0600)
commit493f3b158a1e445e24d567847045baf5a723d206
tree8a430383f6117fdeda4f61e69e32710fd977a597
parent45ab03b19e8bf33af3e5f5a24729e5564d54fae9
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