| From: |
| Andrea Righi <arighi-AT-nvidia.com> |
| To: |
| Ingo Molnar <mingo-AT-redhat.com>, Peter Zijlstra <peterz-AT-infradead.org>, Juri Lelli <juri.lelli-AT-redhat.com>, Vincent Guittot <vincent.guittot-AT-linaro.org> |
| Subject: |
| [PATCH 0/3] sched: Expose sd_llc_shared->has_idle_cores other sched classes |
| Date: |
| Tue, 21 Oct 2025 16:55:41 +0200 |
| Message-ID: |
| <20251021145706.61534-1-arighi@nvidia.com> |
| Cc: |
| Dietmar Eggemann <dietmar.eggemann-AT-arm.com>, Steven Rostedt <rostedt-AT-goodmis.org>, Ben Segall <bsegall-AT-google.com>, Mel Gorman <mgorman-AT-suse.de>, Valentin Schneider <vschneid-AT-redhat.com>, Tejun Heo <tj-AT-kernel.org>, David Vernet <void-AT-manifault.com>, Changwoo Min <changwoo-AT-igalia.com>, Joel Fernandes <joelagnelf-AT-nvidia.com>, sched-ext-AT-lists.linux.dev, linux-kernel-AT-vger.kernel.org |
| Archive-link: |
| Article |
This patchset relocates code to make sd_llc_shared->has_idle_cores
available to other scheduling classes and updates the sched_ext built-in
idle CPU selection policy to make use of it.
Andrea Righi (3):
sched: Relocate sched_smt_present definition to core.c
sched: Expose sd_llc_shared->has_idle_cores to other sched classes
sched_ext: idle: Reuse sd_llc_shared->has_idle_cores
kernel/sched/core.c | 5 ++++
kernel/sched/ext_idle.c | 9 ++++++-
kernel/sched/fair.c | 66 +------------------------------------------------
kernel/sched/idle.c | 31 +++++++++++++++++++++++
kernel/sched/sched.h | 55 +++++++++++++++++++++++++++++++----------
5 files changed, 87 insertions(+), 79 deletions(-)