aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2022-03-22 14:07:57 +0000
committerJens Axboe <[email protected]>2022-04-24 17:34:16 -0600
commit773697b610bff9451cf67d4f57b08d68c4b1a832 (patch)
tree3d305a8336904e64720955ae541ed54ba2199115 /tools/perf/scripts/python
parentf81440d33cc61bd80f37e1045f0f5a21d043eed3 (diff)
io_uring: pre-calculate syscall iopolling decision
Syscall should only iopoll for events when it's a IOPOLL ring and is not SQPOLL. Instead of check both flags every time we can save it in ring flags so it's easier to use. We don't care much about an extra if there, however it will be inconvenient to copy-paste this chunk with checks in future patches. Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/7fd2f8fc2606305aa06dd8c0ff8f76a66b39c383.1647957378.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions