Re: [PATCH v2] mm/debug_vm_pgtable: Fix kernel crash by checking for THP support

2020-06-08 Thread Anshuman Khandual
On 06/08/2020 06:22 PM, Aneesh Kumar K.V wrote: > Architectures can have CONFIG_TRANSPARENT_HUGEPAGE enabled but > no THP support enabled based on platforms. For ex: with 4K > PAGE_SIZE ppc64 supports THP only with radix translation. > > This results in below crash when running with hash

[PATCH v2] mm/debug_vm_pgtable: Fix kernel crash by checking for THP support

2020-06-08 Thread Aneesh Kumar K.V
Architectures can have CONFIG_TRANSPARENT_HUGEPAGE enabled but no THP support enabled based on platforms. For ex: with 4K PAGE_SIZE ppc64 supports THP only with radix translation. This results in below crash when running with hash translation and 4K PAGE_SIZE. kernel BUG at