summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2023-01-04 01:34:02 +0000
committerJens Axboe <axboe@kernel.dk>2023-01-03 19:03:28 -0700
commit9ffa13ff78a0a55df968a72d6f0ebffccee5c9f4 (patch)
tree3576e12a99775bf257075621191860613552fd4b /arch
parentaf82425c6a2d2f347c79b63ce74fca6dc6be157f (diff)
downloadlinux-9ffa13ff78a0a55df968a72d6f0ebffccee5c9f4.tar.gz
linux-9ffa13ff78a0a55df968a72d6f0ebffccee5c9f4.tar.bz2
linux-9ffa13ff78a0a55df968a72d6f0ebffccee5c9f4.zip
io_uring: pin context while queueing deferred tw
Unlike normal tw, nothing prevents deferred tw to be executed right after an tw item added to ->work_llist in io_req_local_work_add(). For instance, the waiting task may get waken up by CQ posting or a normal tw. Thus we need to pin the ring for the rest of io_req_local_work_add() Cc: stable@vger.kernel.org Fixes: c0e0d6ba25f18 ("io_uring: add IORING_SETUP_DEFER_TASKRUN") Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/1a79362b9c10b8523ef70b061d96523650a23344.1672795998.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions