diff options
| author | Pavel Begunkov <[email protected]> | 2020-06-15 07:33:14 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-06-15 14:51:38 +0000 |
| commit | 801dd57bd1d8c2c253f43635a3045bfa32a810b3 (patch) | |
| tree | 2a6101e41c92aeedc98caf42dc301e89fc0eac07 /tools/perf/scripts/python/netdev-times.py | |
| parent | io_uring: lazy get task (diff) | |
| download | kernel-801dd57bd1d8c2c253f43635a3045bfa32a810b3.tar.gz kernel-801dd57bd1d8c2c253f43635a3045bfa32a810b3.zip | |
io_uring: cancel by ->task not pid
For an exiting process it tries to cancel all its inflight requests. Use
req->task to match such instead of work.pid. We always have req->task
set, and it will be valid because we're matching only current exiting
task.
Also, remove work.pid and everything related, it's useless now.
Reported-by: Eric W. Biederman <[email protected]>
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
