Commit 78848b9
committed
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.
Reviewed-by: Hao Xu <howeyxu@tencent.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 8922630 commit 78848b9
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
909 | 909 | | |
910 | 910 | | |
911 | 911 | | |
912 | | - | |
913 | 912 | | |
914 | 913 | | |
915 | 914 | | |
916 | 915 | | |
917 | | - | |
918 | | - | |
919 | 916 | | |
920 | 917 | | |
921 | 918 | | |
| |||
0 commit comments