aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-07-11 11:31:11 +0200
committerJens Axboe <axboe@kernel.dk>2020-07-24 12:55:44 -0600
commitb36200f543ff07a1cb346aa582349141df2c8068 (patch)
tree412713127dde3057c7b037eae9bb72390ed6d17d /tools/perf/scripts/python/export-to-postgresql.py
parentMerge branch 'io_uring-5.8' into for-5.9/io_uring (diff)
downloadwireguard-linux-b36200f543ff07a1cb346aa582349141df2c8068.tar.xz
wireguard-linux-b36200f543ff07a1cb346aa582349141df2c8068.zip
io_uring: fix sq array offset calculation
rings_size() sets sq_offset to the total size of the rings (the returned value which is used for memory allocation). This is wrong: sq array should be located within the rings, not after them. Set sq_offset to where it should be. Fixes: 75b28affdd6a ("io_uring: allocate the two rings together") Signed-off-by: Dmitry Vyukov <dvyukov@google.com> Acked-by: Hristo Venev <hristo@venev.name> Cc: io-uring@vger.kernel.org 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