Re: [PATCH v3 09/16] mm/huge_memory: refactor change_huge_pmd() non-present logic

Vlastimil Babka
2025-11-21T17:58:44Z

On 11/10/25 23:21, Lorenzo Stoakes wrote:
> Similar to copy_huge_pmd(), there is a large mass of open-coded logic for
> the CONFIG_ARCH_ENABLE_THP_MIGRATION non-present entry case that does not
> use thp_migration_supported() consistently.
>
> Resolve this by separating out this logic and introduce
> change_non_present_huge_pmd().
>
> No functional change intended.
>
> Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>

Reviewed-by: Vlastimil Babka <vbabka@suse.cz>