Re: [PATCH 10/31] sched: Add @reason to sched_class->rq_{on|off}line()

From: Peter Zijlstra
Date: Mon Dec 12 2022 - 06:58:38 EST


On Tue, Nov 29, 2022 at 10:22:52PM -1000, Tejun Heo wrote:
> ->rq_{on|off}line are called either during CPU hotplug or cpuset partition
> updates. Let's add an argument to distinguish the two cases. The argument
> will be used by a new sched_class to track CPU hotplug events.

Again, utter lack of why.