mm: memory-failure: kill __soft_offline_page()
authorKefeng Wang <wangkefeng.wang@huawei.com>
Fri, 19 Aug 2022 03:34:02 +0000 (11:34 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 Sep 2022 03:25:58 +0000 (20:25 -0700)
commit48309e1f6f7b15b041b39b7f15e7adc1c7e2de95
treeacbbc3af747f468d59025f8fffe6d500f5762970
parent7adb45887c8af88985c335b53d253654e9d2dd16
mm: memory-failure: kill __soft_offline_page()

Squash the __soft_offline_page() into soft_offline_in_use_page() and kill
__soft_offline_page().

[wangkefeng.wang@huawei.com: update hpage when try_to_split_thp_page() succeeds]
Link: https://lkml.kernel.org/r/20220830104654.28234-1-wangkefeng.wang@huawei.com
Link: https://lkml.kernel.org/r/20220819033402.156519-2-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory-failure.c