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)
commit9cf2819159d5a35311fc39c328ebeca5ce50d7c0
tree64b2c8121b517c7ae7e0fd4be91d905a262c143c
parentb680dae9a881bbf80dc53a79a59e4f1386b7da5e
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