On Tue, 19 Oct 2021 20:31:26 +0100, Pavel Begunkov wrote: > First, fix nr_workers checks against max_workers, with max_worker > registration, it may pretty easily happen that nr_workers > max_workers. > > Also, synchronise writing to acct->max_worker with wqe->lock. It's not > an actual problem, but as we don't care about io_wqe_create_worker(), > it's better than WRITE_ONCE()/READ_ONCE(). > > [...] Applied, thanks! [1/1] io-wq: max_worker fixes commit: 9f7f7ea493a1d5c202760cd6145d6dde744f71a2 Best regards, -- Jens Axboe