diff options
| author | 2025-12-22 19:53:18 +0800 | |
|---|---|---|
| committer | 2025-12-22 17:55:41 -1000 | |
| commit | 714d81423e9948fcdb4e3eb948ec188ffd2ac131 (patch) | |
| tree | dc19472f2e647cdca67c0f3af0d7190d4a7f0ae7 /tools/perf/scripts/python | |
| parent | sched_ext: Use the resched_cpu() to replace resched_curr() in the bypass_lb_node() (diff) | |
sched_ext: Avoid multiple irq_work_queue() calls in destroy_dsq()
llist_add() returns true only when adding to an empty list, which indicates
that no IRQ work is currently queued or running. Therefore, we only need to
call irq_work_queue() when llist_add() returns true, to avoid unnecessarily
re-queueing IRQ work that is already pending or executing.
Signed-off-by: Zqiang <qiang.zhang@linux.dev>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
