Message ID | 20210325131524.48181-3-linmiaohe@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Cleanup and fixup for mm/migrate.c | expand |
diff --git a/mm/migrate.c b/mm/migrate.c index 61e7f848b554..dacbdc9710ac 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -1370,7 +1370,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); /*