]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/vmscan.c
mm: remove SWAP_DIRTY in ttu
[karo-tx-linux.git] / mm / vmscan.c
index e54c882d6789c6c974277b0a08ef43f729fbad3d..f1fd388454bd04254df86097300b395643bf3747 100644 (file)
@@ -1147,9 +1147,6 @@ static unsigned long shrink_page_list(struct list_head *page_list,
                if (page_mapped(page)) {
                        switch (ret = try_to_unmap(page,
                                ttu_flags | TTU_BATCH_FLUSH)) {
-                       case SWAP_DIRTY:
-                               SetPageSwapBacked(page);
-                               /* fall through */
                        case SWAP_FAIL:
                                nr_unmap_fail++;
                                goto activate_locked;