--- a/mm/swap.c~mm-swap-fix-confusing-comment-in-release_pages +++ a/mm/swap.c @@ -902,7 +902,7 @@ void release_pages(struct page **pages, } /* * ZONE_DEVICE pages that return 'false' from - * put_devmap_managed_page() do not require special + * page_is_devmap_managed() do not require special * processing, and instead, expect a call to * put_page_testzero(). */