diff options
author | Pavel Begunkov <[email protected]> | 2021-02-12 03:23:52 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-02-12 05:30:25 -0700 |
commit | 4e32635834a30b8aa9583d3899a8ecc6416023fb (patch) | |
tree | 6f0b0ab7d9b18523981c1fa7dd35a3d04357edbc /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d3d7298d05cb026305b0f5033acc9c9c4f281e14 (diff) |
io_uring: optimise SQPOLL mm/files grabbing
There are two reasons for this. First is to optimise
io_sq_thread_acquire_mm_files() for non-SQPOLL case, which currently do
too many checks and function calls in the hot path, e.g. in
io_init_req().
The second is to not grab mm/files when there are not needed. As
__io_queue_sqe() issues only one request now, we can reuse
io_sq_thread_acquire_mm_files() instead of unconditional acquire
mm/files.
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions