diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-11-04 11:59:46 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-21 15:38:31 +0100 |
commit | 42385b02baad0df55474b7f36dc13e0d4ffd0cc0 (patch) | |
tree | 4a03a31927cb0927c452e40b2a2d8741d023b1e8 /lib/vdso | |
parent | io_uring: move zc reporting from the hot path (diff) | |
download | linux-42385b02baad0df55474b7f36dc13e0d4ffd0cc0.tar.xz linux-42385b02baad0df55474b7f36dc13e0d4ffd0cc0.zip |
io_uring/net: move mm accounting to a slower path
We can also move mm accounting to the extended callbacks. It removes a
few cycles from the hot path including skipping one function call and
setting io_req_task_complete as a callback directly. For user backed I/O
it shouldn't make any difference taking into considering atomic mm
accounting and page pinning.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/1062f270273ad11c1b7b45ec59a6a317533d5e64.1667557923.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/vdso')
0 files changed, 0 insertions, 0 deletions