lkml.org 
[lkml]   [2024]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.



\
 
 \ /
  Last update: 2024-07-02 23:49    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog