aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2021-04-13 02:58:38 +0100
committerJens Axboe <[email protected]>2021-04-13 09:37:54 -0600
commit084804002e512427bfe52b448cb7cac0d4209b64 (patch)
tree7b60c51c386a1d7a96f1ab693f615fa982a0d8c5 /tools/perf/scripts/python/bin
parentf70865db5ff35f5ed0c7e9ef63e7cca3d4947f04 (diff)
io_uring: fix leaking reg files on exit
If io_sqe_files_unregister() faults on io_rsrc_ref_quiesce(), it will fail to do unregister leaving files referenced. And that may well happen because of a strayed signal or just because it does allocations inside. In io_ring_ctx_free() do an unsafe version of unregister, as it's guaranteed to not have requests by that point and so quiesce is useless. Cc: [email protected] Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/e696e9eade571b51997d0dc1d01f144c6d685c05.1618278933.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions