Re: [PATCH v25 1/9] sched: Make class_schedulers avoid pushing current, and get rid of proxy_tag_curr()

From: Peter Zijlstra

Date: Wed Mar 18 2026 - 08:57:22 EST


On Tue, Mar 17, 2026 at 11:11:20AM +0530, K Prateek Nayak wrote:

> Also, deadline, RT, fair, and idle don't really care about the "next"
> argument of put_prev_task() and the only one that does care is
> put_prev_task_scx() to call switch_class() callback so putting it as
> either NULL or "rq->donor" should be safe.

https://lkml.kernel.org/r/20260317104343.225156112@xxxxxxxxxxxxx

Makes fair care about the @next argument to put_prev_task_fair().