| Date | Mon, 24 Jun 2024 13:32:12 +0200 | | From | Peter Zijlstra <> | | Subject | Re: [PATCH 09/39] sched: Add @reason to sched_class->rq_{on|off}line() |
| |
On Wed, May 01, 2024 at 05:09:44AM -1000, Tejun Heo wrote: > ->rq_{on|off}line are called either during CPU hotplug or cpuset partition > updates. A planned BPF extensible sched_class wants to tell the BPF > scheduler progs about CPU hotplug events in a way that's synchronized with > rq state changes. > > As the BPF scheduler progs aren't necessarily affected by cpuset partition > updates, we need a way to distinguish the two types of events. Let's add an > argument to tell them apart.
That would be a bug. Must not be able to ignore partitions.
|