v2
2026-11-02
修复HugeTLB CMA与统计 · v2
修正hugetlb_cma全局参数解析、vmemmap恢复失败时保留folio持久标志,以及分配回滚时的NR_HUGETLB计数。
原始补丁链接
子 Patch(3)
1/3
mm/hugetlb_cma: fix incorrect hugetlb_cma_size assignment on malformed input
From: Kaitao Cheng chengkaitao@kylinos.cn When hugetlb_cma contains a global size after node-specific entries, cmdline_parse_hugetlb_cma() enters the global branch and reparses the original paramet
2/3
mm/hugetlb: Preserve persistent flags when returning folios to the pool
[mm/hugetlb: Preserve persistent flags when returning folios to the pool] From: Kaitao Cheng chengkaitao@kylinos.cn add_hugetlb_folio() returns a folio to the HugeTLB pool when vmemmap restoration
3/3
mm/hugetlb: Fix NR_HUGETLB accounting for surplus folios
[mm/hugetlb: Fix NR_HUGETLB accounting for surplus folios] From: Kaitao Cheng chengkaitao@kylinos.cn NR_HUGETLB is incremented in the allocation entry points, but decremented unconditionally in fre