Message ID | 20220218090118.1105-8-linmiaohe@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | A few cleanup and fixup patches for memory failure | expand |
diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 365384c41da1..6bd555f12972 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -2171,10 +2171,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);
Since commit add05cecef80 ("mm: soft-offline: don't free target page in successful page migration"), set_migratetype_isolate logic is removed. Remove this obsolete comment. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> --- mm/memory-failure.c | 4 ---- 1 file changed, 4 deletions(-)