mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrea Righi <arighi@nvidia.com>
To: Ingo Molnar <mingo@redhat.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Juri Lelli <juri.lelli@redhat.com>,
	Vincent Guittot <vincent.guittot@linaro.org>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Ben Segall <bsegall@google.com>, Mel Gorman <mgorman@suse.de>,
	Valentin Schneider <vschneid@redhat.com>,
	Tejun Heo <tj@kernel.org>, David Vernet <void@manifault.com>,
	Changwoo Min <changwoo@igalia.com>,
	Joel Fernandes <joelagnelf@nvidia.com>,
	sched-ext@lists.linux.dev, linux-kernel@vger.kernel.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	[thread overview]
Message-ID: <20251021145706.61534-1-arighi@nvidia.com> (raw)

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(-)

             reply	other threads:[~2025-10-21 14:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-21 14:55 Andrea Righi [this message]
2025-10-21 14:55 ` [PATCH 1/3] sched: Relocate sched_smt_present definition to core.c Andrea Righi
2025-10-21 14:55 ` [PATCH 2/3] sched: Expose sd_llc_shared->has_idle_cores to other sched classes Andrea Righi
2025-10-21 14:55 ` [PATCH 3/3] sched_ext: idle: Reuse sd_llc_shared->has_idle_cores Andrea Righi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251021145706.61534-1-arighi@nvidia.com \
    --to=arighi@nvidia.com \
    --cc=bsegall@google.com \
    --cc=changwoo@igalia.com \
    --cc=dietmar.eggemann@arm.com \
    --cc=joelagnelf@nvidia.com \
    --cc=juri.lelli@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgorman@suse.de \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=sched-ext@lists.linux.dev \
    --cc=tj@kernel.org \
    --cc=vincent.guittot@linaro.org \
    --cc=void@manifault.com \
    --cc=vschneid@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®