On Mon, May 30, 2022 at 03:49:18PM +0800, Muchun Song wrote: > We need to make sure that the page is deleted from or added to the > correct lruvec list. So add a VM_WARN_ON_ONCE_FOLIO() to catch > invalid users. Then the VM_BUG_ON_PAGE() in move_pages_to_lru() > could be removed since add_page_to_lru_list() will check that. > > Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx> Acked-by: Roman Gushchin <roman.gushchin@xxxxxxxxx>