Re: [PATCH] mm: mempolicy: don't have to split pmd for huge zero page
From: Zi Yan
Date: Fri Jun 04 2021 - 17:24:02 EST
On 4 Jun 2021, at 16:35, Yang Shi wrote:
> When trying to migrate pages to obey mempolicy, the huge zero page is
> split then the page table walk at PTE level just skips zero page. So it
> seems pointless to split huge zero page, it could be just skipped like
> base zero page.
>
> Set ACTION_CONTINUE to prevent the walk_page_range() split the pmd for
> this case.
>
> Signed-off-by: Yang Shi <shy828301@xxxxxxxxx>
LGTM. Thanks.
Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>
—
Best Regards,
Yan, Zi
Attachment:
signature.asc
Description: OpenPGP digital signature