On 10/19/21 4:54 PM, Pavel Begunkov wrote: > On 10/19/21 20:31, 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(). > > Jens, can you add > > Reported-by: Beld Zhang <beldzhang@xxxxxxxxx> Yep, done. -- Jens Axboe