summaryrefslogtreecommitdiffstats
path: root/fs/hfs/part_tbl.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-02-12 04:23:52 +0100
committerJens Axboe <axboe@kernel.dk>2021-02-12 13:30:25 +0100
commit4e32635834a30b8aa9583d3899a8ecc6416023fb (patch)
tree6f0b0ab7d9b18523981c1fa7dd35a3d04357edbc /fs/hfs/part_tbl.c
parentio_uring: optimise out unlikely link queue (diff)
downloadlinux-4e32635834a30b8aa9583d3899a8ecc6416023fb.tar.xz
linux-4e32635834a30b8aa9583d3899a8ecc6416023fb.zip
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 <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/hfs/part_tbl.c')
0 files changed, 0 insertions, 0 deletions