Skip to content
Commit fc666777 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: use system_unbound_wq for ring exit work



We currently use system_wq, which is unbounded in terms of number of
workers. This means that if we're exiting tons of rings at the same
time, then we'll briefly spawn tons of event kworkers just for a very
short blocking time as the rings exit.

Use system_unbound_wq instead, which has a sane cap on the concurrency
level.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 8452fd0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment