Re: [PATCH 05/18] sched: Pass next class to sched_change_begin()
From: Peter Zijlstra
Date: Thu Sep 10 2026 - 06:23:32 EST
On Mon, Aug 31, 2026 at 03:42:15PM +0200, Andrea Righi wrote:
> sched_change_begin() currently only receives the task whose scheduling
> state is being changed. It cannot distinguish a class transition from a
> same-class update before recording the task queueing state.
Uh, yes it can. That's what {EN,DE}QUEUE_CLASS are for, no?