diff options
| author | Pavel Begunkov <[email protected]> | 2023-08-24 22:53:32 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-08-24 23:16:19 +0000 |
| commit | 2af89abda7d9c2aeb573677e2c498ddb09f8058a (patch) | |
| tree | a0bb96ee8f21b3aa48ea8a319a12515e768aa631 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | io_uring: compact SQ/CQ heads/tails (diff) | |
| download | kernel-2af89abda7d9c2aeb573677e2c498ddb09f8058a.tar.gz kernel-2af89abda7d9c2aeb573677e2c498ddb09f8058a.zip | |
io_uring: add option to remove SQ indirection
Not many aware, but io_uring submission queue has two levels. The first
level usually appears as sq_array and stores indexes into the actual SQ.
To my knowledge, no one has ever seriously used it, nor liburing exposes
it to users. Add IORING_SETUP_NO_SQARRAY, when set we don't bother
creating and using the sq_array and SQ heads/tails will be pointing
directly into the SQ. Improves memory footprint, in term of both
allocations as well as cache usage, and also should make io_get_sqe()
less branchy in the end.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/0ffa3268a5ef61d326201ff43a233315c96312e0.1692916914.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
