diff options
author | Gabriel Krisman Bertazi <krisman@suse.de> | 2023-10-04 20:05:30 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-10-05 08:38:15 -0600 |
commit | f74c746e476b9dad51448b9a9421aae72b60e25f (patch) | |
tree | 6030cacd141a53ee447c4a8b56327f540deea9a1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ab69838e7c75b0edb699c1a8f42752b30333c46f (diff) |
io_uring/kbuf: Allow the full buffer id space for provided buffers
nbufs tracks the number of buffers and not the last bgid. In 16-bit, we
have 2^16 valid buffers, but the check mistakenly rejects the last
bid. Let's fix it to make the interface consistent with the
documentation.
Fixes: ddf0322db79c ("io_uring: add IORING_OP_PROVIDE_BUFFERS")
Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20231005000531.30800-3-krisman@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions