commit | e4b6d902a9e38f424ce118106ea4d1665b7951b5 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun May 16 22:58:00 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jun 14 08:23:04 2021 -0600 |
tree | a8ae910156c5c4ac75c809ac76bf180a699e2144 | |
parent | 009c9aa5be652675a06d5211e1640e02bbb1c33d [diff] |
io_uring: improve sqpoll event/state handling As sqd->state changes rarely, don't check every event one by one but look them all at once. Add a helper function. Also don't go into event waiting sleeping with STOP flag set. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/645025f95c7eeec97f88ff497785f4f1d6f3966f.1621201931.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>