diff --git a/mm/migrate.c b/mm/migrate.c index 1e1f8324cefef2ebbb8ac5df627d77c09f9f37a6..896e9cd49ecc231d4b65b4b715eb8aebb2ad24d9 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -1348,7 +1348,7 @@ static int unmap_and_move_huge_page(new_page_t get_new_page, out: if (rc == MIGRATEPAGE_SUCCESS) putback_active_hugepage(hpage); - else if (rc != -EAGAIN && rc != MIGRATEPAGE_SUCCESS) + else if (rc != -EAGAIN) list_move_tail(&hpage->lru, ret); /*