diff options
author | Pavel Begunkov <[email protected]> | 2021-08-15 10:40:18 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-08-23 13:10:37 -0600 |
commit | 48dcd38d73c22b22bf9dc1c01b0ca0b8414b31da (patch) | |
tree | 03f30a7dfe5404cf3844eaf7afe1a3a8a18fc9da /lib/test_fortify/write_overflow-memcpy.c | |
parent | a141dd896f544df9627502cfb3fc1a73fb6587e4 (diff) |
io_uring: optimise iowq refcounting
If a requests is forwarded into io-wq, there is a good chance it hasn't
been refcounted yet and we can save one req_ref_get() by setting the
refcount number to the right value directly.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/2d53f4449faaf73b4a4c5de667fc3c176d974860.1628981736.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions