summaryrefslogtreecommitdiff
path: root/mm/compaction.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-02-26 15:47:56 +0000
committerJens Axboe <axboe@kernel.dk>2021-03-04 06:34:03 -0700
commitba50a036f23c44608b1d903c34644a1acd5d21fa (patch)
treee4d1f04645e03aefa8500270f262979da5bdd9d1 /mm/compaction.c
parente54945ae947fb881212a4b97d5599a01bba6ad06 (diff)
io_uring: run fallback on cancellation
io_uring_try_cancel_requests() matches not only current's requests, but also of other exiting tasks, so we need to actively cancel them and not just wait, especially since the function can be called on flush during do_exit() -> exit_files(). Even if it's not a problem for now, it's much nicer to know that the function tries to cancel everything it can. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions