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>
Mon, 22 Mar 2021 13:42:47 +0000 (07:42 -0600)
commit42c4c31b0e776c42b72cb4d0117cf726516da4d2
tree253e452c36038d54a0c413a79e5e83902cc6957f
parentb99623f84b6ab9a368761130d421f9ef2171c10b
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