v2
2026-07-31
非临时存储优化降级迁移 · v2
为内存降级路径引入 non-temporal 存储迁移模式,减少 cache 污染与 CXL 读带宽;新增 Kconfig 控制。
原始补丁链接
子 Patch(3)
1/3
mm, x86: support copying a folio using non-temporal stores
From: Alirad Malek alirad.malek@zptcorp.com In x86, use memcpy_flushcache (that uses non-temporal store instructions) to copy a folio. To achieve that, starting from folio_mc_copy down to copy_mc_t
2/3
mm: new migrate_mode flag for async using non-temporal stores
From: Alirad Malek alirad.malek@zptcorp.com In preparation for the following patch, add a new migrate_mode which is still async but will use non-temporal stores. Add a helper function that checks f
3/3
mm: use non-temporal stores for demotion
From: Alirad Malek alirad.malek@zptcorp.com Memory demoted to a lower tier is assumed to be cold and most likely out of the CPU’s last level cache. Additionally, in certain demotion targets (e.g. C