Re: [PATCH] sched_ext: switch class when preempted by higher priority scheduler

From: Tejun Heo
Date: Tue Jan 07 2025 - 15:34:36 EST


Hello, Honglei.

On Tue, Jan 07, 2025 at 09:46:05AM +0800, Honglei Wang wrote:
> It might be helpful to give BPF Scheduler a chance to invoke
> cpu_release() function, if defined, when preempted by a higher
> priority scheduler class task.
>
> Signed-off-by: Honglei Wang <jameshongleiwang@xxxxxxx>

Can you update the patch description indicating that this is a bug fix?
ops.cpu_release() must be invoked in this case but is being skipped.

Thanks.

--
tejun