aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-06-29 19:18:43 +0300
committerJens Axboe <axboe@kernel.dk>2020-06-30 08:40:00 -0600
commitcbdcb4357c000861b77369c34e110fa893d23607 (patch)
tree7c7a9d3417a5b5bb7f8129a7e55b91a109e3642c /tools/perf/scripts/python/export-to-postgresql.py
parentio_uring: factor out grab_env() from defer_prep() (diff)
downloadwireguard-linux-cbdcb4357c000861b77369c34e110fa893d23607.tar.xz
wireguard-linux-cbdcb4357c000861b77369c34e110fa893d23607.zip
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 <asml.silence@gmail.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