Re: [PATCH] mm: mempolicy: don't have to split pmd for huge zero page

From
Zi Yan <ziy@nvidia.com>
Date
2021-06-04 21:24:02
Also in
lkml
Reply to
Yang Shi, 2021-06-04
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 <redacted>
LGTM. Thanks.

Reviewed-by: Zi Yan <ziy@nvidia.com>


—
Best Regards,
Yan, Zi

Attachments

Thread (11 messages) 11 messages, 3 authors, last reply 2021-06-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help