aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memory-failure.c')
-rw-r--r--mm/memory-failure.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mm/memory-failure.c b/mm/memory-failure.c
index 2b43ba051ac9..edc388db730a 100644
--- a/mm/memory-failure.c
+++ b/mm/memory-failure.c
@@ -1310,7 +1310,7 @@ int unpoison_memory(unsigned long pfn)
1310 * to the end. 1310 * to the end.
1311 */ 1311 */
1312 if (PageHuge(page)) { 1312 if (PageHuge(page)) {
1313 pr_debug("MCE: Memory failure is now running on free hugepage %#lx\n", pfn); 1313 pr_info("MCE: Memory failure is now running on free hugepage %#lx\n", pfn);
1314 return 0; 1314 return 0;
1315 } 1315 }
1316 if (TestClearPageHWPoison(p)) 1316 if (TestClearPageHWPoison(p))
@@ -1419,7 +1419,7 @@ static int soft_offline_huge_page(struct page *page, int flags)
1419 1419
1420 if (PageHWPoison(hpage)) { 1420 if (PageHWPoison(hpage)) {
1421 put_page(hpage); 1421 put_page(hpage);
1422 pr_debug("soft offline: %#lx hugepage already poisoned\n", pfn); 1422 pr_info("soft offline: %#lx hugepage already poisoned\n", pfn);
1423 return -EBUSY; 1423 return -EBUSY;
1424 } 1424 }
1425 1425
@@ -1433,8 +1433,8 @@ static int soft_offline_huge_page(struct page *page, int flags)
1433 list_for_each_entry_safe(page1, page2, &pagelist, lru) 1433 list_for_each_entry_safe(page1, page2, &pagelist, lru)
1434 put_page(page1); 1434 put_page(page1);
1435 1435
1436 pr_debug("soft offline: %#lx: migration failed %d, type %lx\n", 1436 pr_info("soft offline: %#lx: migration failed %d, type %lx\n",
1437 pfn, ret, page->flags); 1437 pfn, ret, page->flags);
1438 if (ret > 0) 1438 if (ret > 0)
1439 ret = -EIO; 1439 ret = -EIO;
1440 return ret; 1440 return ret;
@@ -1505,7 +1505,7 @@ int soft_offline_page(struct page *page, int flags)
1505 } 1505 }
1506 if (!PageLRU(page)) { 1506 if (!PageLRU(page)) {
1507 pr_info("soft_offline: %#lx: unknown non LRU page type %lx\n", 1507 pr_info("soft_offline: %#lx: unknown non LRU page type %lx\n",
1508 pfn, page->flags); 1508 pfn, page->flags);
1509 return -EIO; 1509 return -EIO;
1510 } 1510 }
1511 1511
@@ -1566,7 +1566,7 @@ int soft_offline_page(struct page *page, int flags)
1566 } 1566 }
1567 } else { 1567 } else {
1568 pr_info("soft offline: %#lx: isolation failed: %d, page count %d, type %lx\n", 1568 pr_info("soft offline: %#lx: isolation failed: %d, page count %d, type %lx\n",
1569 pfn, ret, page_count(page), page->flags); 1569 pfn, ret, page_count(page), page->flags);
1570 } 1570 }
1571 if (ret) 1571 if (ret)
1572 return ret; 1572 return ret;