aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/pgtable.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <[email protected]>2021-02-03 10:28:10 +0530
committerMichael Ellerman <[email protected]>2021-02-11 23:35:06 +1100
commitc7ba2d636342093cfb842f47640e5b62192adfed (patch)
tree8d384dd8b0050a4f5a4bc1c1df9361397836fe87 /arch/powerpc/mm/pgtable.c
parentc9df3f809cc98b196548864f52d3c4e280dd1970 (diff)
powerpc/mm: Enable compound page check for both THP and HugeTLB
THP config results in compound pages. Make sure the kernel enables the PageCompound() check with CONFIG_HUGETLB_PAGE disabled and CONFIG_TRANSPARENT_HUGEPAGE enabled. This makes sure we correctly flush the icache with THP pages. flush_dcache_icache_page only matter for platforms that don't support COHERENT_ICACHE. Signed-off-by: Aneesh Kumar K.V <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/mm/pgtable.c')
0 files changed, 0 insertions, 0 deletions