Revert " mm/vmscan: fix shmctl SHM_UNLOCK triggering an warning"

This reverts commit ae0126c5aa.
This commit is contained in:
Bin Lai 2022-09-05 21:28:11 +08:00
parent c5b4c812ef
commit 04ec1c8db5
1 changed files with 1 additions and 1 deletions

View File

@ -4780,8 +4780,8 @@ void check_move_unevictable_pages(struct pagevec *pvec)
del_page_from_lru_list(page, lruvec, LRU_UNEVICTABLE);
add_page_to_lru_list(page, lruvec, lru);
pgrescued++;
SetPageLRU(page);
}
SetPageLRU(page);
}
if (lruvec) {