summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-04-08 08:58:44 +0300
committerJens Axboe <axboe@kernel.dk>2020-04-08 09:26:16 -0600
commitb1e50e549b1372d9742509230dc4af7dd521d984 (patch)
tree7ce3c1a55b6f4c354f94bd0164411806c3413d7e /drivers/gpu
parent709b302faddfac757d87df2080f900eccb1dc9e2 (diff)
downloadlinux-stable-b1e50e549b1372d9742509230dc4af7dd521d984.tar.gz
linux-stable-b1e50e549b1372d9742509230dc4af7dd521d984.tar.bz2
linux-stable-b1e50e549b1372d9742509230dc4af7dd521d984.zip
io_uring: alloc req only after getting sqe
As io_get_sqe() split into 2 stage get/consume, get an sqe before allocating io_kiocb, so no free_req*() for a failure case is needed, and inline back __io_req_do_free(), which has only 1 user. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions