commit | 5c766a908d06e96d30e0ec2511a24fa311553d2c | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue Jan 19 13:32:36 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Feb 01 10:02:42 2021 -0700 |
tree | 6654b2ffb8127857e1df30a751333fcd8f9e3772 | |
parent | dc2a6e9aa9c349d76c318d22bbe26006fda1ce97 [diff] |
io_uring: cleanup personalities under uring_lock personality_idr is usually synchronised by uring_lock, the exception would be removing personalities in io_ring_ctx_wait_and_kill(), which is legit as refs are killed by that point but still would be more resilient to do it under the lock. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>