ksm: stable_node point to page and back
[deliverable/linux.git] / mm / mlock.c
index bd6f0e466f6c4f1c51b4bbbe1e605140bb3e6493..48691fb08514a73915b3b71ec124e2a39ff3b0cc 100644 (file)
@@ -117,7 +117,7 @@ static void munlock_vma_page(struct page *page)
                        /*
                         * did try_to_unlock() succeed or punt?
                         */
-                       if (ret == SWAP_SUCCESS || ret == SWAP_AGAIN)
+                       if (ret != SWAP_MLOCK)
                                count_vm_event(UNEVICTABLE_PGMUNLOCKED);
 
                        putback_lru_page(page);
This page took 0.025689 seconds and 5 git commands to generate.