]> git.baikalelectronics.ru Git - kernel.git/commit
mm/migrate: Use a folio in migrate_misplaced_transhuge_page()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 6 Jul 2021 14:50:39 +0000 (10:50 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 7 Apr 2022 13:43:41 +0000 (09:43 -0400)
commitc185e494ae0ceb126d89b8e3413ed0a1132e05d3
tree8f5aef8d846d0a0ed084eaa4b9de5c3c35f08bec
parentffe06786b54039edcecb51a54061ee8d81036a19
mm/migrate: Use a folio in migrate_misplaced_transhuge_page()

Unify alloc_misplaced_dst_page() and alloc_misplaced_dst_page_thp().
Removes an assumption that compound pages are HPAGE_PMD_ORDER.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
mm/migrate.c