summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2026-01-18 19:48:01 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-02-11 13:41:52 +0100
commit1d5f2329ab4df65c2ee011b986d8a6e05ad0f67c (patch)
treef85d0d177110503f5658912ca9cdd04386709fad /tools/perf/scripts/python/stackcollapse.py
parentc65a1a72a41e4a74f481a61815a03fde9ce4f7d0 (diff)
downloadkernel-1d5f2329ab4df65c2ee011b986d8a6e05ad0f67c.tar.gz
io_uring/rw: free potentially allocated iovec on cache put failure
[ Upstream commit 4b9748055457ac3a0710bf210c229d01ea1b01b9 ] If a read/write request goes through io_req_rw_cleanup() and has an allocated iovec attached and fails to put to the rw_cache, then it may end up with an unaccounted iovec pointer. Have io_rw_recycle() return whether it recycled the request or not, and use that to gauge whether to free a potential iovec or not. Reviewed-by: Nitesh Shetty <nj.shetty@samsung.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions