commit | ffe06786b54039edcecb51a54061ee8d81036a19 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <willy@infradead.org> | Mon Apr 04 14:35:04 2022 -0400 |
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | Thu Apr 07 09:43:41 2022 -0400 |
tree | bfb6c6b00973c48903c1ac6ba50fc05899a4f469 | |
parent | 83a8441f8d8e2e47e9bf2aead3aca625ab95d5ad [diff] |
mm/migrate: Use a folio in alloc_migration_target() This removes an assumption that a large folio is HPAGE_PMD_ORDER as well as letting us remove the call to prep_transhuge_page() and a few hidden calls to compound_head(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Zi Yan <ziy@nvidia.com> Reviewed-by: William Kucharski <william.kucharski@oracle.com>