The quilt patch titled Subject: mm-memremap_pages-replace-zone_device_page_init-with-pgmap_request_folios-fix has been removed from the -mm tree. Its filename was mm-memremap_pages-replace-zone_device_page_init-with-pgmap_request_folios-fix.patch This patch was dropped because it was folded into mm-memremap_pages-replace-zone_device_page_init-with-pgmap_request_folios.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-memremap_pages-replace-zone_device_page_init-with-pgmap_request_folios-fix Date: Wed Oct 19 04:28:52 PM PDT 2022 restore removal of zone_device_page_init Reported-by: kernel test robot <lkp@xxxxxxxxx> Cc: Dan Williams <dan.j.williams@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/memremap.c | 12 ------------ 1 file changed, 12 deletions(-) --- a/mm/memremap.c~mm-memremap_pages-replace-zone_device_page_init-with-pgmap_request_folios-fix +++ a/mm/memremap.c @@ -519,18 +519,6 @@ void free_zone_device_page(struct page * put_dev_pagemap(page->pgmap); } -void zone_device_page_init(struct page *page) -{ - /* - * Drivers shouldn't be allocating pages after calling - * memunmap_pages(). - */ - WARN_ON_ONCE(!percpu_ref_tryget_live(&page->pgmap->ref)); - set_page_count(page, 1); - lock_page(page); -} -EXPORT_SYMBOL_GPL(zone_device_page_init); - static __maybe_unused bool folio_span_valid(struct dev_pagemap *pgmap, struct folio *folio, int nr_folios) _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are revert-mm-align-larger-anonymous-mappings-on-thp-boundaries.patch mm-gup-remove-foll_migration-fix.patch mm-memremap_pages-replace-zone_device_page_init-with-pgmap_request_folios.patch mm-memremap-introduce-pgmap_request_folio-using-pgmap-offsets-fix.patch mm-memremap-introduce-pgmap_request_folio-using-pgmap-offsets-fix-2.patch