| Date | Sun, 19 Jun 2022 12:49:21 -0700 | From | Roman Gushchin <> | Subject | Re: [PATCH v5 10/11] mm: lru: add VM_BUG_ON_FOLIO to lru maintenance function |
| |
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@bytedance.com>
Acked-by: Roman Gushchin <roman.gushchin@linux.dev>
|