diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2025-07-21 12:56:21 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-20 19:41:44 +0300 |
| commit | 32830e9f24f6251e4a276bfbbc5ea448e7a0d4dc (patch) | |
| tree | a30c5a55e1a82aeaef77ea7f631a5b9235180dc6 /tools/perf/scripts/python/flamegraph.py | |
| parent | e004d86dc5f53780dccbf394bcdef814dfff0e0a (diff) | |
| download | linux-32830e9f24f6251e4a276bfbbc5ea448e7a0d4dc.tar.xz | |
io_uring/zcrx: don't leak pages on account failure
commit 6bbd3411ff87df1ca38ff32d36eb5dc673ca8021 upstream.
Someone needs to release pinned pages in io_import_umem() if accounting
fails. Assign them to the area but return an error, the following
io_zcrx_free_area() will clean them up.
Fixes: 262ab205180d2 ("io_uring/zcrx: account area memory")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e19f283a912f200c0d427e376cb789fc3f3d69bc.1753091564.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
