mm/hwpoison: fix refcount of THP head page in no-injection case
[deliverable/linux.git] / mm / vmscan.c
index 0b1aab411cb083edb26ce15e11e03cb3a3a082b4..8276a3a615ca0049515affe9adbd4a0480ce8c4a 100644 (file)
@@ -1196,7 +1196,7 @@ cull_mlocked:
                if (PageSwapCache(page))
                        try_to_free_swap(page);
                unlock_page(page);
-               putback_lru_page(page);
+               list_add(&page->lru, &ret_pages);
                continue;
 
 activate_locked:
This page took 0.033049 seconds and 5 git commands to generate.