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, 4 Apr 2021 21:27:19 +0000 (15:27 -0600)
commitea9e38ca1f76ccb80ec707a64366d69a4d8efaa2
treeb23ed00e4adbdeba19dea9220944d6e93264c734
parentdf8b62dbb7fdb258e63358b8651c49c67e5d4030
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