]> git.baikalelectronics.ru Git - kernel.git/commit
io-wq: simplify code in __io_worker_busy()
authorHao Xu <haoxu@linux.alibaba.com>
Tue, 6 Apr 2021 03:08:45 +0000 (11:08 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Apr 2021 01:30:35 +0000 (19:30 -0600)
commita954aac17aa9daa5fbfbad0a806fa6de6865c10b
tree1679c9cb4f7a7aa3ed85930744a669ded134b6e0
parente774d7de8a245d1f6dc4c24bdde28061aba4d0ac
io-wq: simplify code in __io_worker_busy()

Leverage XOR to simplify the code in __io_worker_busy.

Signed-off-by: Hao Xu <haoxu@linux.alibaba.com>
Link: https://lore.kernel.org/r/1617678525-3129-1-git-send-email-haoxu@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c