Re: [RFC][PATCH 0/3] sched/ext: Cleanup pick_task_scx()

From: Tejun Heo

Date: Tue Oct 07 2025 - 17:48:16 EST


On Mon, Oct 06, 2025 at 12:46:52PM +0200, Peter Zijlstra wrote:
> Hi,
>
> So I had a poke at 'give @rf to pick_task() and fold balance_scx() into
> pick_task_scx()' option to see how terrible it was. Turns out, not terrible at
> all.
>
> I've ran the sched_ext selftest and stress-ng --race-sched 0 thing with various
> scx_* thingies on.

This is great. I was thinking that I needed to call pick_task() of other
classes to detect the retry conditions but yeah enqueue() must be the
triggering event and this is way neater. Does this mean that balance() can
be dropped from other classes too?

For the whole series:

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun