]> git.baikalelectronics.ru Git - kernel.git/commit
io-wq: add io_wq_cancel_pid() to cancel based on a specific pid
authorJens Axboe <axboe@kernel.dk>
Sun, 9 Feb 2020 02:16:39 +0000 (19:16 -0700)
committerJens Axboe <axboe@kernel.dk>
Sun, 9 Feb 2020 16:55:38 +0000 (09:55 -0700)
commit75fb9dbf05bb56a64ef9278a18e20dd20beab272
tree246026127aff05485eccefbe84def6e58f1174ba
parente16e9443997b00052420815a62da7d69a12e4864
io-wq: add io_wq_cancel_pid() to cancel based on a specific pid

Add a helper that allows the caller to cancel work based on what mm
it belongs to. This allows io_uring to cancel work from a given
task or thread when it exits.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c
fs/io-wq.h