summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2024-11-29 13:34:28 +0000
committerJens Axboe <axboe@kernel.dk>2024-12-23 08:17:16 -0700
commitc4d0ac1c1567ee822529124a3dc10b384838c3bc (patch)
tree9655ea72d41aed37f8d3f414432b57b02d4ecd1a /tools/perf/scripts/python/export-to-postgresql.py
parent226ae1b4d1111b0b0041677b58371af9b8cd31a9 (diff)
io_uring/memmap: optimise single folio regions
We don't need to vmap if memory is already physically contiguous. There are two important cases it covers: PAGE_SIZE regions and huge pages. Use io_check_coalesce_buffer() to get the number of contiguous folios. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/d5240af23064a824c29d14d2406f1ae764bf4505.1732886067.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions