io_uring: simplify io_sqd_update_thread_idle()
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 10 Mar 2021 13:13:55 +0000 (13:13 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 25 Mar 2021 16:24:19 +0000 (10:24 -0600)
commite399d3e107ce77be4a9b90d27e0b6564cc32b844
tree63cd2463591fe5a9517877146fd2cdbae9e85753
parent82dbad3605a9f48b2b75804a5058dc6409109bd9
io_uring: simplify io_sqd_update_thread_idle()

Use a more comprehensible() max instead of hand coding it with ifs in
io_sqd_update_thread_idle().

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c