aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDmitry Vyukov <[email protected]>2020-07-11 11:31:11 +0200
committerJens Axboe <[email protected]>2020-07-24 12:55:44 -0600
commitb36200f543ff07a1cb346aa582349141df2c8068 (patch)
tree412713127dde3057c7b037eae9bb72390ed6d17d /tools/perf/scripts/python/bin
parent760618f7a8e3b63aa06266efb301719c374e29d4 (diff)
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 <[email protected]> Acked-by: Hristo Venev <[email protected]> Cc: [email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions