]> git.baikalelectronics.ru Git - kernel.git/commit
io-wq: don't repeat IO_WQ_BIT_EXIT check by worker
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 14 Jun 2021 01:36:16 +0000 (02:36 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 Jun 2021 14:23:13 +0000 (08:23 -0600)
commit4259faef051778302e66595a3faac34436a42eb3
treecf75dfb19d30f8dfd90f1c2a876ec286eab513d7
parent205ef453de281bcf5a64d14471eedfa660e89c15
io-wq: don't repeat IO_WQ_BIT_EXIT check by worker

io_wqe_worker()'s main loop does check IO_WQ_BIT_EXIT flag, so no need
for a second test_bit at the end as it will immediately jump to the
first check afterwards.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/d6af4a51c86523a527fb5417c9fbc775c4b26497.1623634181.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c