diff options
author | Pavel Begunkov <[email protected]> | 2022-11-04 10:59:46 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-11-21 07:38:31 -0700 |
commit | 42385b02baad0df55474b7f36dc13e0d4ffd0cc0 (patch) | |
tree | 4a03a31927cb0927c452e40b2a2d8741d023b1e8 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 40725d1b960f19a11a1ebd1ab537844ebf39347c (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/1062f270273ad11c1b7b45ec59a6a317533d5e64.1667557923.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions