v1
2026-10-14
泛化页表分配辅助函数 · v1
泛化 PTE/PMD/PUD 分配接口,支持架构钩子与非零阶表,修正内核页表标记。
原始补丁链接
子 Patch(3)
1/3
mm: generalize kernel PTE table allocation
[mm: generalize kernel PTE table allocation] Architectures whose empty kernel PTE representation is not all zero must initialize new kernel PTE tables. LoongArch therefore wraps __pte_alloc_one_kernel
2/3
mm: generalize PMD page table allocation
The generic PMD allocator assumes order-0 page tables and zero-valued empty entries. MIPS and LoongArch need pmd_init() to install their invalid entries, while MIPS and parisc use PMD_TABLE_ORDER to d
3/3
mm: generalize PUD page table allocation
The generic PUD allocator assumes order-0 page tables and zero-valued empty entries. MIPS and LoongArch need pud_init() to install their invalid entries. MIPS also uses PUD_TABLE_ORDER to describe the