diff options
author | 2025-02-07 17:19:42 +0800 | |
---|---|---|
committer | 2025-02-11 07:14:28 -0700 | |
commit | 3bee991f2b68175c828dc3f9c26367fe1827319a (patch) | |
tree | 075f0744811a49582ba96c5749d727ff73efb35d /scripts/generate_rust_analyzer.py | |
parent | blk-crypto: add ioctls to create and prepare hardware-wrapped keys (diff) | |
download | linux-rng-3bee991f2b68175c828dc3f9c26367fe1827319a.tar.xz linux-rng-3bee991f2b68175c828dc3f9c26367fe1827319a.zip |
loop: release the lo_work_lock before queue_work
queue_work could spin on wq->cpu_pwq->pool->lock which could lead to
concurrent loop_process_work failed on lo_work_lock contention and
increase the request latency. Remove this combination by moving the
lock release ahead of queue_work.
Signed-off-by: Zhaoyang Huang <zhaoyang.huang@unisoc.com>
Link: https://lore.kernel.org/r/20250207091942.3966756-1-zhaoyang.huang@unisoc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions