v1
2026-10-30
CMA保留区接受未接受内存 · v1
为多范围 hugetlb_cma 与 cma= 固定地址区接受内存,避免 TDX/SEV-SNP 首次访问未接受页致命。
原始补丁链接
子 Patch(2)
1/2
mm/cma: accept memory of multi-range CMA areas
On systems with unaccepted memory, memblock allocations accept the > allocated range, but when cma_declare_contiguous_multi() uses open coded > allocation of multiple ranges, it reserves them with m
2/2
mm/cma: accept memory of CMA areas reserved at a fixed address
cma=@ 用 memblock_reserve() 保留的固定 CMA 区域未经过 memory acceptance;在 CMA 初始化时对其执行 accept_memory(),修复 TDX/SEV-SNP 客机固定地址 CMA 内存未被接受。