Skip to content

sched/cahce: Document cache aware scheduling

Tim Chen linux-doc lkml stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Documentation/scheduler: Add cache aware scheduling documentationDocumentation/scheduler/index.rst Documentation/scheduler/sched-cache.rst+555 -00 replies
2/2sched/cache: Fix decision matrix comment above can_migrate_llc()kernel/sched/fair.c+7 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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
Signature · 1 line
2.32.0