summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-08-17 22:28:09 +0300
committerJens Axboe <axboe@kernel.dk>2021-08-23 22:10:43 +0300
commit505657bc6c52b01304d8a7c79b2f98878e3d83db (patch)
treea1f665b05f3245091ff62176896dd3a946a75974 /scripts/generate_rust_analyzer.py
parentae421d9350b51cba1daa28ee6eb14fbce7517eca (diff)
downloadlinux-505657bc6c52b01304d8a7c79b2f98878e3d83db.tar.xz
io_uring: reuse io_req_complete_post()
We have io_req_complete_post() to post a CQE and put the request. It takes care of all synchronisation and is more concise and efficent, so replace all hancoded occurrences of "lock; post CQE; unlock; + put_req()" with io_req_complete_post(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/2c83463458a613f9d870e5147eb134da2aa70779.1629228203.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions