Convert to use more folios in migrate_device.c, then we could remove isolate_lru_page() and putback_lru_page(). Based on next-20240823. Kefeng Wang (6): mm: migrate_device: convert to migrate_device_coherent_folio() mm: migrate_device: use a folio in migrate_device_range() mm: migrate_device: use more folio in migrate_device_unmap() mm: migrate_device: use more folio in migrate_device_finalize() mm: remove isolate_lru_page() mm: remove putback_lru_page() Documentation/mm/page_migration.rst | 6 +- Documentation/mm/unevictable-lru.rst | 2 +- .../translations/zh_CN/mm/page_migration.rst | 6 +- mm/filemap.c | 2 +- mm/folio-compat.c | 12 --- mm/gup.c | 2 +- mm/internal.h | 4 +- mm/khugepaged.c | 6 +- mm/migrate_device.c | 102 +++++++++--------- mm/swap.c | 2 +- 10 files changed, 67 insertions(+), 77 deletions(-) -- 2.27.0