io_uring/io-wq: don't grab wq->lock for worker activation
authorJens Axboe <axboe@kernel.dk>
Wed, 9 Aug 2023 18:58:59 +0000 (12:58 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Aug 2023 19:34:43 +0000 (13:34 -0600)
commit2e324b0fd27589a7733606c90cffa38c202cdcd7
tree6099346ffb6fc759396a2b86573f7a3c8a76eae8
parent9e4bef2ba9e0c5fd0e0ae383f0c0fb0e338aafad
io_uring/io-wq: don't grab wq->lock for worker activation

The worker free list is RCU protected, and checks for workers going away
when iterating it. There's no need to hold the wq->lock around the
lookup.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io-wq.c