Re: [PATCH 1/3] powerpc/mm: Enable compound page check for both THP and HugeTLB

2021-02-11 Thread Michael Ellerman
On Wed, 3 Feb 2021 10:28:10 +0530, Aneesh Kumar K.V wrote: > 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.

[PATCH 1/3] powerpc/mm: Enable compound page check for both THP and HugeTLB

2021-02-02 Thread Aneesh Kumar K.V
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