aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r--mm/memcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index e25b93a4267d..55a9facb8e8d 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -5576,7 +5576,7 @@ static void uncharge_list(struct list_head *page_list)
5576 next = page->lru.next; 5576 next = page->lru.next;
5577 5577
5578 VM_BUG_ON_PAGE(PageLRU(page), page); 5578 VM_BUG_ON_PAGE(PageLRU(page), page);
5579 VM_BUG_ON_PAGE(page_count(page), page); 5579 VM_BUG_ON_PAGE(!PageHWPoison(page) && page_count(page), page);
5580 5580
5581 if (!page->mem_cgroup) 5581 if (!page->mem_cgroup)
5582 continue; 5582 continue;