Message ID | 20210609001557.ZaGZCalCW%akpm@linux-foundation.org |
---|---|
State | Superseded |
Headers | show |
Series | + mm-thp-use-head-page-in-__migration_entry_wait.patch added to -mm tree | expand |
--- a/mm/migrate.c~mm-thp-use-head-page-in-__migration_entry_wait +++ a/mm/migrate.c @@ -295,6 +295,7 @@ void __migration_entry_wait(struct mm_st goto out; page = migration_entry_to_page(entry); + page = compound_head(page); /* * Once page cache replacement of page migration started, page_count