Re: [PATCH -next v3 1/2] mm/debug_vm_pgtable: Move {pmd/pud}_huge_tests out of CONFIG_TRANSPARENT_HUGEPAGE

From: Liu Shixin
Date: Mon May 10 2021 - 03:24:37 EST


On 2021/5/10 12:26, Andrew Morton wrote:
> On Mon, 19 Apr 2021 15:18:19 +0800 Liu Shixin <liushixin2@xxxxxxxxxx> wrote:
>
>> The functions {pmd/pud}_set_huge and {pmd/pud}_clear_huge are not dependent
>> on THP. Hence move {pmd/pud}_huge_tests out of CONFIG_TRANSPARENT_HUGEPAGE.
> What is the actual effect of this? Better test coverage? Smaller
> kernel? Larger kernel?
>
> (I'm too lazy to figure this out and it should have been in the
> changelog anyway ;))
> .
>
Better test coverage I think.

And I want to add HUGE_VMAP support for riscv, which doesn't have THP support right now.