[PATCH 0/2] sched/cahce: Document cache aware scheduling

From: Tim Chen

Date: Thu Nov 12 2026 - 13:29:07 EST


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