summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorZqiang <qiang.zhang@linux.dev>2025-12-22 14:53:18 +0300
committerTejun Heo <tj@kernel.org>2025-12-23 06:55:41 +0300
commit714d81423e9948fcdb4e3eb948ec188ffd2ac131 (patch)
treedc19472f2e647cdca67c0f3af0d7190d4a7f0ae7 /include/uapi
parentccaeeb585c7c2a0ac67ee1af9acb4d1411dc409e (diff)
downloadlinux-714d81423e9948fcdb4e3eb948ec188ffd2ac131.tar.xz
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 'include/uapi')
0 files changed, 0 insertions, 0 deletions