aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2020-02-23 06:22:19 +0000
committerJens Axboe <[email protected]>2020-02-24 02:46:13 +0000
commit193155c8c9429f57400daf1f2ef0075016767112 (patch)
tree27dfc2f52a5a871c07f7c221e308dbe040f2a13e /tools/perf/scripts/python/check-perf-trace.py
parentLinux 5.6-rc3 (diff)
downloadkernel-193155c8c9429f57400daf1f2ef0075016767112.tar.gz
kernel-193155c8c9429f57400daf1f2ef0075016767112.zip
io_uring: handle multiple personalities in link chains
If we have a chain of requests and they don't all use the same credentials, then the head of the chain will be issued with the credentails of the tail of the chain. Ensure __io_queue_sqe() overrides the credentials, if they are different. Once we do that, we can clean up the creds handling as well, by only having io_submit_sqe() do the lookup of a personality. It doesn't need to assign it, since __io_queue_sqe() now always does the right thing. Fixes: 75c6a03904e0 ("io_uring: support using a registered personality for commands") Reported-by: Pavel Begunkov <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions