summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHristo Venev <hristo@venev.name>2019-08-26 20:23:46 +0300
committerJens Axboe <axboe@kernel.dk>2019-08-27 19:42:02 +0300
commit75b28affdd6aed1c68073ef53907c7bd822aff84 (patch)
tree4a0f288bf42e5b8dfbc20c4d09dcaad41e69e59f /tools/perf/scripts/python/export-to-postgresql.py
parent27c4d3a3252fa661b049b8f57a548bba331133e0 (diff)
downloadlinux-75b28affdd6aed1c68073ef53907c7bd822aff84.tar.xz
io_uring: allocate the two rings together
Both the sq and the cq rings have sizes just over a power of two, and the sq ring is significantly smaller. By bundling them in a single alllocation, we get the sq ring for free. This also means that IORING_OFF_SQ_RING and IORING_OFF_CQ_RING now mean the same thing. If we indicate this to userspace, we can save a mmap call. Signed-off-by: Hristo Venev <hristo@venev.name> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions