summaryrefslogtreecommitdiff
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memory-failure.c')
-rw-r--r--mm/memory-failure.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/memory-failure.c b/mm/memory-failure.c
index 1597414dec2f..e997bfd8a840 100644
--- a/mm/memory-failure.c
+++ b/mm/memory-failure.c
@@ -2167,10 +2167,6 @@ static int __soft_offline_page(struct page *page)
ret = invalidate_inode_page(page);
unlock_page(page);
- /*
- * RED-PEN would be better to keep it isolated here, but we
- * would need to fix isolation locking first.
- */
if (ret) {
pr_info("soft_offline: %#lx: invalidated\n", pfn);
page_handle_poison(page, false, true);