diff options
author | Zhaoyang Huang <zhaoyang.huang@unisoc.com> | 2025-02-07 17:19:42 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-02-11 07:14:28 -0700 |
commit | 3bee991f2b68175c828dc3f9c26367fe1827319a (patch) | |
tree | 075f0744811a49582ba96c5749d727ff73efb35d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1ebd4a3c095cd538d3c1c7c12738ef47d8e71f96 (diff) |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions