v4
2026-07-20
MGLRU 提升可执行文件页 · v4
MGLRU 在首次使用后提升映射的可执行文件 folio,使其更可能留在内存中以提高性能。
原始补丁链接
子 Patch(3)
1/3
mm: vmscan: convert folio_referenced() to use vma_flags_t
Replace use of the legacy vm_flags_t flags with vma_flags_t values for folio_referenced() and related logic. This is also a preparation for the following changes. No functional changes. Signed-off-b
2/3
mm: vmscan: add a helper to identify file-backed executable folios
Add a helper to identify file-backed executable folios to avoid duplicate code. No functional changes. Signed-off-by: Baolin Wang baolin.wang@linux.alibaba.com Acked-by: Johannes Weiner <hannes@cm
3/3
mm: mglru: promote mapped executable folios after first usage
Classical LRU protects mapped executable file folios through commit 8cab4754d24a0 (“vmscan: make mapped executable pages the first class citizen”) and commit c909e99364c8 (“vmscan: activate executable