mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
53a3126756
commit
417b5052be
1 changed files with 6 additions and 9 deletions
15
fs/io-wq.c
15
fs/io-wq.c
Loading…
Add table
Add a link
Reference in a new issue