]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Use IRQ_WORK_INIT_HARD() to initialize rq->scx.kick_cpus_irq_work
authorZqiang <qiang.zhang@linux.dev>
Mon, 17 Nov 2025 12:53:10 +0000 (20:53 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 17 Nov 2025 15:07:22 +0000 (05:07 -1000)
commit36c6f3c03d104faf1aa90922f2310549c175420f
treebc03139d39526a712f3c90af5758226bcabae889
parenta257e974210320ede524f340ffe16bf4bf0dda1e
sched_ext: Use IRQ_WORK_INIT_HARD() to initialize rq->scx.kick_cpus_irq_work

For PREEMPT_RT kernels, the kick_cpus_irq_workfn() be invoked in
the per-cpu irq_work/* task context and there is no rcu-read critical
section to protect. this commit therefore use IRQ_WORK_INIT_HARD() to
initialize the per-cpu rq->scx.kick_cpus_irq_work in the
init_sched_ext_class().

Signed-off-by: Zqiang <qiang.zhang@linux.dev>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c