Files
linux-cryptodev-2.6/io_uring
Li Chen 38aa434ab9 io_uring/io-wq: add exit-on-idle state
io-wq uses an idle timeout to shrink the pool, but keeps the last worker
around indefinitely to avoid churn.

For tasks that used io_uring for file I/O and then stop using io_uring,
this can leave an iou-wrk-* thread behind even after all io_uring
instances are gone. This is unnecessary overhead and also gets in the
way of process checkpoint/restore.

Add an exit-on-idle state that makes all io-wq workers exit as soon as
they become idle, and provide io_wq_set_exit_on_idle() to toggle it.

Signed-off-by: Li Chen <me@linux.beauty>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2026-02-02 08:10:23 -07:00
..
2025-01-28 15:10:40 -07:00
2026-01-05 17:08:20 -07:00
2026-01-22 15:47:23 -07:00
2026-02-02 08:10:23 -07:00
2026-02-02 08:10:23 -07:00
2025-02-17 16:43:04 -08:00
2025-03-07 13:41:08 -07:00
2026-01-14 22:03:49 -07:00
2025-12-28 15:54:45 -07:00
2025-12-28 15:54:45 -07:00
2024-02-09 09:04:39 -07:00
2025-11-13 11:19:37 -07:00