aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-11-07 18:27:42 -0700
committerJens Axboe <axboe@kernel.dk>2019-11-10 20:29:49 -0700
commit206aefde4f886fdeb3b6339aacab3a85fb74cb7e (patch)
treec4aa3295817662bca2ed4d8dce9eb04986a959b4 /tools/perf/scripts/python/bin
parentio_uring: properly mark async work as bounded vs unbounded (diff)
downloadlinux-206aefde4f886fdeb3b6339aacab3a85fb74cb7e.tar.gz
linux-206aefde4f886fdeb3b6339aacab3a85fb74cb7e.zip
io_uring: reduce/pack size of io_ring_ctx
With the recent flurry of additions and changes to io_uring, the layout of io_ring_ctx has become a bit stale. We're right now at 704 bytes in size on my x86-64 build, or 11 cachelines. This patch does two things: - We have to completion structs embedded, that we only use for quiesce of the ctx (or shutdown) and for sqthread init cases. That 2x32 bytes right there, let's dynamically allocate them. - Reorder the struct a bit with an eye on cachelines, use cases, and holes. With this patch, we're down to 512 bytes, or 8 cachelines. Reviewed-by: Jackie Liu <liuyun01@kylinos.cn> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions