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>
Sun, 11 Apr 2021 23:41:58 +0000 (17:41 -0600)
commitc9dca27dc7f9c5dc4ee4ba5b77f7584387f867fe
treefaaea1901f35d7978cec23df6b269883e41ac763
parentabc54d634334f24d9a3253b8207b42eda852f25a
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