Searched hist:"90292 aca9854a2cbd904127337d6fea30f46290c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm64/mm/ |
H A D | mmu.c | diff 90292aca9854a2cbd904127337d6fea30f46290c Mon Mar 11 19:57:46 CDT 2019 Yu Zhao <yuzhao@google.com> arm64: mm: use appropriate ctors for page tables
For pte page, use pgtable_page_ctor(); for pmd page, use pgtable_pmd_page_ctor(); and for the rest (pud, p4d and pgd), don't use any.
For now, we don't select ARCH_ENABLE_SPLIT_PMD_PTLOCK and pgtable_pmd_page_ctor() is a nop. When we do in patch 3, we make sure pmd is not folded so we won't mistakenly call pgtable_pmd_page_ctor() on pud or p4d.
Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Yu Zhao <yuzhao@google.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
|