aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2021-01-11 04:00:30 +0000
committerJens Axboe <[email protected]>2021-01-11 07:39:54 -0700
commitd434ab6db524ab1efd0afad4ffa1ee65ca6ac097 (patch)
tree71234160cb83e0ba6b7ee49e36ae2cf32b3b903b /tools/perf/scripts/python/bin
parentd9d05217cb6990b9a56e13b56e7a1b71e2551f6c (diff)
io_uring: drop mm and files after task_work_run
__io_req_task_submit() run by task_work can set mm and files, but io_sq_thread() in some cases, and because __io_sq_thread_acquire_mm() and __io_sq_thread_acquire_files() do a simple current->mm/files check it may end up submitting IO with mm/files of another task. We also need to drop it after in the end to drop potentially grabbed references to them. Cc: [email protected] # 5.9+ Signed-off-by: Pavel Begunkov <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions