commit | 3fcee5a6d5414df8ff4ee22f2477bde76d34527c | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Jul 06 17:59:31 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jul 06 09:06:20 2020 -0600 |
tree | 687e9af32760c89673a2587b188d9d7f1dde48cd | |
parent | eba0a4dd2aa5c47ca5b0c56ffb6d6665e047ff72 [diff] |
io_uring: briefly loose locks while reaping events It's not nice to hold @uring_lock for too long io_iopoll_reap_events(). For instance, the lock is needed to publish requests to @poll_list, and that locks out tasks doing that for no good reason. Loose it occasionally. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>