The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Tim Chen <tim.c.chen@linux.intel.com>
To: Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>, Jonathan Corbet <corbet@lwn.net>
Cc: Tim Chen <tim.c.chen@linux.intel.com>,
	Juri Lelli <juri.lelli@redhat.com>,
	Vincent Guittot <vincent.guittot@linaro.org>,
	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>,
	K Prateek Nayak <kprateek.nayak@amd.com>,
	Chen Yu <yu.c.chen@intel.com>,
	Jemmy Wong <jemmywong512@gmail.com>,
	Shrikanth Hegde <sshegde@linux.ibm.com>,
	Randy Dunlap <rdunlap@infradead.org>,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] sched/cahce: Document cache aware scheduling
Date: Thu, 12 Nov 2026 10:21:45 -0800	[thread overview]
Message-ID: <cover.1794507151.git.tim.c.chen@linux.intel.com> (raw)

This series adds the documentation for cache aware scheduling
(CONFIG_SCHED_CACHE) and fixes the migration decision tables in the
comment above can_migrate_llc().

Patch 1 adds Documentation/scheduler/sched-cache.rst, written in the
same style as sched-energy.rst. It explains the operation principles
of the scheduler and describes the debugfs tunables with tuning
guidance.

Patch 2 fixes the example tables in the comment above can_migrate_llc().
Several cells did not match what the function computes with the default
thresholds. The tables now use 45% instead of 40% so they also show the
imb_pct hysteresis. This is a comment-only change and is tagged for
stable so the comment matches the code in v7.2.y and v7.3.y.

Tim Chen (2):
  Documentation/scheduler: Add cache aware scheduling documentation
  sched/cache: Fix decision matrix comment above can_migrate_llc()

 Documentation/scheduler/index.rst       |   1 +
 Documentation/scheduler/sched-cache.rst | 554 ++++++++++++++++++++++++
 kernel/sched/fair.c                     |  14 +-
 3 files changed, 562 insertions(+), 7 deletions(-)
 create mode 100644 Documentation/scheduler/sched-cache.rst

-- 
2.32.0


             reply	other threads:[~2026-11-12 18:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12 18:21 Tim Chen [this message]
2026-11-12 18:21 ` [PATCH 1/2] Documentation/scheduler: Add cache aware scheduling documentation Tim Chen
2026-11-12 18:21 ` [PATCH 2/2] sched/cache: Fix decision matrix comment above can_migrate_llc() Tim Chen

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=cover.1794507151.git.tim.c.chen@linux.intel.com \
    --to=tim.c.chen@linux.intel.com \
    --cc=bsegall@google.com \
    --cc=corbet@lwn.net \
    --cc=dietmar.eggemann@arm.com \
    --cc=jemmywong512@gmail.com \
    --cc=juri.lelli@redhat.com \
    --cc=kprateek.nayak@amd.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgorman@suse.de \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=rdunlap@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=sshegde@linux.ibm.com \
    --cc=vincent.guittot@linaro.org \
    --cc=vschneid@redhat.com \
    --cc=yu.c.chen@intel.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