diff options
| author | Pavel Begunkov <[email protected]> | 2020-06-29 19:18:43 +0300 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-06-30 08:40:00 -0600 |
| commit | cbdcb4357c000861b77369c34e110fa893d23607 (patch) | |
| tree | 7c7a9d3417a5b5bb7f8129a7e55b91a109e3642c /tools/perf/scripts/python | |
| parent | debb85f496c9cc70663eac31d3ad9153839c844c (diff) | |
io_uring: do grab_env() just before punting
Currently io_steal_work() is disabled, and every linked request should
go through task_work for initialisation. Do io_req_work_grab_env()
just before io-wq punting and for the whole link, so any request
reachable by io_steal_work() is prepared.
This is also interesting for another reason -- it localises
io_req_work_grab_env() into one place just before io-wq punting, helping
to to better manage req->work lifetime and add some neat
cleanup/optimisations later.
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions