Skip to content
Commit 0712721e authored by Kefeng Wang's avatar Kefeng Wang Committed by Greg Kroah-Hartman
Browse files

mm: memory-failure: kill soft_offline_free_page()

[ Upstream commit 7adb4588 ]

Open-code the page_handle_poison() into soft_offline_page() and kill
unneeded soft_offline_free_page().

Link: https://lkml.kernel.org/r/20220819033402.156519-1-wangkefeng.wang@huawei.com


Signed-off-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: default avatarMiaohe Lin <linmiaohe@huawei.com>
Acked-by: default avatarNaoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Stable-dep-of: e2c1ab07 ("mm: memory-failure: fix unexpected return value in soft_offline_page()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent efd02b5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment