Re: [PATCH 1/3] sched_ext: Prevent CPU kicks from exiting schedulers
From: Tejun Heo
Date: Fri Apr 10 2026 - 16:17:02 EST
On Thu, Apr 09, 2026 at 11:21:24AM +0800, Zhao Mengmeng wrote:
> From: Zhao Mengmeng <zhaomengmeng@xxxxxxxxxx>
>
> On PC with 8 core, when running scx_central with stress-ng -c 2 --io 8,
> if enable/disable scx_central frequently, dmesg will pop an message:
>
> [ 38.214510] sched_ext: BPF scheduler "central" enabled
> [ 47.809167] hrtimer: interrupt took 11287895 ns
> [ 48.233813] sched_ext: BPF scheduler "central" disabled (unregistered from user space)
> [ 48.248460] kick_cpus_irq_workfn() called with NULL scx_kick_syncs <---- here
So, this is not really a problem. I think all we need to do it switching
that to a debug message.
Thanks.
--
tejun