v8
2026-08-13
引入热页追踪与提升子系统pghot · v8
引入pghot子系统,整合NUMA平衡和MGLRU等访问信息,集中跟踪热页并执行提升。
原始补丁链接
查看原始邮件 ↗
查看原始邮件 ↗
查看原始邮件 ↗
查看原始邮件 ↗
查看原始邮件 ↗
查看原始邮件 ↗
查看原始邮件 ↗
查看原始邮件 ↗
查看原始邮件 ↗
查看原始邮件 ↗
查看原始邮件 ↗
查看原始邮件 ↗
查看原始邮件 ↗
子 Patch(8)
1/8
mm: migrate: Allow misplaced migration without VMA
We want isolation of misplaced folios to work in contexts where VMA isn’t available, typically when performing migrations from a kernel thread context. In order to prepare for that, allow migrate_misp
2/8
mm: migrate: Add promote_misplaced_memcg_folios()
From: Gregory Price gourry@gourry.net Tiered memory systems often require migrating multiple folios at once. Currently, migrate_misplaced_folio() handles only one folio per call, which is inefficie
3/8
mm: Hot page tracking and promotion - pghot
pghot is a subsystem that collects memory access information from multiple sources, classifies hot pages resident in lower-tier memory, and promotes them to faster tiers. It stores per-PFN hotness met
4/8
mm: pghot: Precision mode for pghot
Default pghot stores hotness in a 1‑byte record per PFN, limiting frequency to 2 bits, time to a 5‑bit bucket, and preventing storage of per‑PFN toptier NID. This restricts time granularity and forces
5/8
mm: sched: move NUMA balancing tiering promotion to pghot
Currently hot page promotion (NUMA_BALANCING_MEMORY_TIERING mode of NUMA Balancing) does hot page detection (via hint faults), hot page classification and eventual promotion, all by itself and sits wi
6/8
x86/ibs: Move IBS caps definitions into its own header
Subsequent patch adds IBS Memory Profiler driver that is independent of the perf subsystem but needs the CPUID 0x8000001B capability bits. Hence move those bit definitions out of asm/perf_event.h into
7/8
x86/mm/ibs: In-kernel driver for AMD IBS Memory Profiler
Use IBS (Instruction Based Sampling) Memory Profiler feature present in AMD Zen6 processors for memory access tracking. The access information obtained from IBS Memory Profiler is fed to pghot sub-sys
8/8
x86/mm/ibs: Add runtime controls for IBS memprofiler
Expose runtime tunables for IBS Memory profiler and arm the profiler. /ibs-mprof/l3miss-only - IbsMemL3MissOnly filter /ibs-mprof/period - op sample period (IbsMemMaxCnt) <de