diff options
author | Jens Axboe <[email protected]> | 2020-08-11 08:04:14 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-08-11 08:09:13 -0600 |
commit | 6d816e088c359866f9867057e04f244c608c42fe (patch) | |
tree | 2b27bdab84603e31011b7aeb19b95b1a18e6934c /tools/perf/scripts/python/intel-pt-events.py | |
parent | efa8480a831673bb52400df9dbe5da0aacda97bf (diff) |
io_uring: hold 'ctx' reference around task_work queue + execute
We're holding the request reference, but we need to go one higher
to ensure that the ctx remains valid after the request has finished.
If the ring is closed with pending task_work inflight, and the
given io_kiocb finishes sync during issue, then we need a reference
to the ring itself around the task_work execution cycle.
Cc: [email protected] # v5.7+
Reported-by: [email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions