• Jens Axboe's avatar
    io_uring: use system_unbound_wq for ring exit work · fc666777
    Jens Axboe authored
    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>
    fc666777
io_uring.c 211 KB