aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2024-11-29 13:34:27 +0000
committerJens Axboe <axboe@kernel.dk>2024-12-23 08:17:15 -0700
commit226ae1b4d1111b0b0041677b58371af9b8cd31a9 (patch)
treea80080739353085fd6e0f56e560702290cf673b4 /tools/perf/scripts/python
parentio_uring/memmap: account memory before pinning (diff)
downloadlinux-226ae1b4d1111b0b0041677b58371af9b8cd31a9.tar.gz
linux-226ae1b4d1111b0b0041677b58371af9b8cd31a9.zip
io_uring/memmap: reuse io_free_region for failure path
Regions are going to become more complex with allocation options and optimisations, I want to split initialisation into steps and for that it needs a sane fail path. Reuse io_free_region(), it's smart enough to undo only what's needed and leaves the structure in a consistent state. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/b853b4ec407cc80d033d021bdd2c14e22378fc78.1732886067.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions