aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-06-28 12:52:38 +0300
committerJens Axboe <axboe@kernel.dk>2020-06-28 08:13:03 -0600
commitf3a6fa2267480d7f19fbde8316372be46055e548 (patch)
tree4f8eaac8f348559a00b3dda4b42a61ac159af7bc /tools/perf/scripts/python/export-to-postgresql.py
parentio_uring: do task_work_run() during iopoll (diff)
downloadwireguard-linux-f3a6fa2267480d7f19fbde8316372be46055e548.tar.xz
wireguard-linux-f3a6fa2267480d7f19fbde8316372be46055e548.zip
io_uring: fix iopoll -EAGAIN handling
req->iopoll() is not necessarily called by a task that submitted a request. Because of that, it's dangerous to grab_env() and punt async on -EGAIN, potentially grabbing another task's mm and corrupting its memory. Do resubmit from the submitter task context. 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