diff options
| author | 2026-05-08 19:50:45 +0800 | |
|---|---|---|
| committer | 2026-05-08 05:11:53 -1000 | |
| commit | ab28a0673daabe7f0fcbd7a5e36334f2f003f02f (patch) | |
| tree | 1912293367e0a1cc60a8284c48321e536b228510 /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | sched_ext: Fix !CONFIG_EXT_SUB_SCHED build warnings (diff) | |
sched_ext: Use IRQ_WORK_INIT_HARD() to initialize sch->disable_irq_work
For built with PREEMPT_RT kernels, the scx_disable_irq_workfn() is
called from per-cpu irq_work kthreads context, this means that
when call the scx_dump_state() in the scx_disable_irq_workfn() to
output current->comm/pid, it always output current irq_work kthread's
comm/pid. this commit therefore use the IRQ_WORK_INIT_HARD() to
initialize sch->disable_irq_work to make scx_disable_irq_workfn() is
called from hardirq context.
Fixes: f4a6c506d118 ("sched_ext: Always bounce scx_disable() through irq_work")
Signed-off-by: Zqiang <qiang.zhang@linux.dev>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
