commit | 948e19479cb649587165243c6cc12d113c9cbbe0 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Jun 24 15:09:55 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jun 30 14:15:38 2021 -0600 |
tree | 99fee504abb1954cc6c18bf6fe39cf1bdb8182c6 | |
parent | 4ce8ad95f0afe927e9a29e7ad491274ebe3a8a7b [diff] |
io_uring: don't change sqpoll creds if not needed SQPOLL doesn't need to change creds if it's not submitting requests. Move creds overriding into __io_sq_thread() after checking if there are SQEs pending. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/c54368da2357ac539e0a333f7cfff70d5fb045b2.1624543113.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>