diff options
author | Miaohe Lin | 2022-03-22 14:44:30 -0700 |
---|---|---|
committer | Linus Torvalds | 2022-03-22 15:57:07 -0700 |
commit | 2ab916790ff0bbaac557dc1238f08237dd7799cc (patch) | |
tree | e6ef3c25e7de4cefe5853b092206487b32b1f0a1 /mm | |
parent | 357670f79efb7e520461d18bb093342605c7cbed (diff) |
mm/memory-failure.c: remove obsolete comment in __soft_offline_page
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.
Link: https://lkml.kernel.org/r/20220218090118.1105-8-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memory-failure.c | 4 |
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); |