diff options
author | 2021-03-09 11:04:10 +0800 | |
---|---|---|
committer | 2021-03-10 07:28:42 -0700 | |
commit | 70e35125093b05b0e607ba1f5358ddf76946756c (patch) | |
tree | b29a9e05950688d92122fc13b5164c4e292230cd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: fix complete_post races for linked req (diff) | |
download | wireguard-linux-70e35125093b05b0e607ba1f5358ddf76946756c.tar.xz wireguard-linux-70e35125093b05b0e607ba1f5358ddf76946756c.zip |
io-wq: fix ref leak for req in case of exit cancelations
do_work such as io_wq_submit_work that cancel the work may leave a ref of
req as 1 if we have links. Fix it by call io_run_cancel.
Fixes: 4fb6ac326204 ("io-wq: improve manager/worker handling over exec")
Signed-off-by: yangerkun <yangerkun@huawei.com>
Link: https://lore.kernel.org/r/20210309030410.3294078-1-yangerkun@huawei.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