Skip to content
Commit 417b5052 authored by Hao Xu's avatar Hao Xu Committed by Jens Axboe
Browse files

io-wq: simplify code in __io_worker_busy()



Leverage XOR to simplify the code in __io_worker_busy.

Signed-off-by: default avatarHao Xu <haoxu@linux.alibaba.com>
Link: https://lore.kernel.org/r/1617678525-3129-1-git-send-email-haoxu@linux.alibaba.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 53a31267
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment