Re: [PATCH 1/3] sched_ext: Prevent CPU kicks from exiting schedulers

From: Zhao mengmeng

Date: Fri Apr 10 2026 - 19:00:17 EST


On April 11, 2026 4:13:42 AM GMT+08:00, Tejun Heo <tj@xxxxxxxxxx> wrote:
>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, thanks for review. I will switch pr_warn_once to pr_debug and still
keep patch 2 in v2, WDYT?