]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: idle: Explicitly pass allowed cpumask to scx_select_cpu_dfl()
authorAndrea Righi <arighi@nvidia.com>
Sat, 5 Apr 2025 13:39:22 +0000 (15:39 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 7 Apr 2025 17:13:52 +0000 (07:13 -1000)
commit23c63a965275ce5d6268075bbfe7ce8b6ffe9a35
treef24e735839d8ebc845cae604d091609f302333b9
parent29f512f555ec16446525c11aa7422ae09236ab32
sched_ext: idle: Explicitly pass allowed cpumask to scx_select_cpu_dfl()

Modify scx_select_cpu_dfl() to take the allowed cpumask as an explicit
argument, instead of implicitly using @p->cpus_ptr.

This prepares for future changes where arbitrary cpumasks may be passed
to the built-in idle CPU selection policy.

This is a pure refactoring with no functional changes.

Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c
kernel/sched/ext_idle.c
kernel/sched/ext_idle.h