summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2026-07-26 08:13:09 -0600
committerJens Axboe <axboe@kernel.dk>2026-07-30 10:33:05 -0600
commit0b88f470589960591f1cb3f238124939d0a7331d (patch)
tree276f4b2347b86ce0bd3c9c92acb4fd2299215b46 /tools/perf/scripts/python/bin/flamegraph-record
parentc77ffbc980efb337fd750c337d8157d532ea14e5 (diff)
io_uring/kbuf: cap buffer selection length at MAX_RW_COUNT
io_ring_buffers_peek() builds an iovec array from provided buffers, and that in turn can be handed off to a lower level provider. Be prudent and cap the total size to MAX_RW_COUNT, which is the Linux default for how much IO do to in a single call. No bugs here, but it's a good preventative measure to avoid truncation issues. Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions