HWPOISON: Use bitmask/action code for try_to_unmap behaviour
[deliverable/linux.git] / mm / vmscan.c
index ba8228e0a80635e01d497fc89328eec9528fe9be..ab3b0ad3ce527460fc08fe8169c16a6f59d479b6 100644 (file)
@@ -659,7 +659,7 @@ static unsigned long shrink_page_list(struct list_head *page_list,
                 * processes. Try to unmap it here.
                 */
                if (page_mapped(page) && mapping) {
-                       switch (try_to_unmap(page, 0)) {
+                       switch (try_to_unmap(page, TTU_UNMAP)) {
                        case SWAP_FAIL:
                                goto activate_locked;
                        case SWAP_AGAIN:
This page took 0.023468 seconds and 5 git commands to generate.