diff options
Diffstat (limited to 'mm/memory-failure.c')
-rw-r--r-- | mm/memory-failure.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 44a8cefeae6e..124324134ff6 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c | |||
@@ -1292,6 +1292,7 @@ static int soft_offline_huge_page(struct page *page, int flags) | |||
1292 | list_add(&hpage->lru, &pagelist); | 1292 | list_add(&hpage->lru, &pagelist); |
1293 | ret = migrate_huge_pages(&pagelist, new_page, MPOL_MF_MOVE_ALL, 0); | 1293 | ret = migrate_huge_pages(&pagelist, new_page, MPOL_MF_MOVE_ALL, 0); |
1294 | if (ret) { | 1294 | if (ret) { |
1295 | putback_lru_pages(&pagelist); | ||
1295 | pr_debug("soft offline: %#lx: migration failed %d, type %lx\n", | 1296 | pr_debug("soft offline: %#lx: migration failed %d, type %lx\n", |
1296 | pfn, ret, page->flags); | 1297 | pfn, ret, page->flags); |
1297 | if (ret > 0) | 1298 | if (ret > 0) |