]> git.baikalelectronics.ru Git - kernel.git/commit
mm, hwpoison: cleanup some obsolete comments
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 30 Aug 2022 12:36:04 +0000 (20:36 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 27 Sep 2022 02:46:04 +0000 (19:46 -0700)
commitc3d44481134e21e4dfd958a768430c4d131d23ee
tree64b2c8121b517c7ae7e0fd4be91d905a262c143c
parenta3a7b617f0d867bb4f57413214ebfbfedbb47706
mm, hwpoison: cleanup some obsolete comments

1.Remove meaningless comment in kill_proc(). That doesn't tell anything.
2.Fix the wrong function name get_hwpoison_unless_zero(). It should be
get_page_unless_zero().
3.The gate keeper for free hwpoison page has moved to check_new_page().
Update the corresponding comment.

Link: https://lkml.kernel.org/r/20220830123604.25763-7-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory-failure.c