summaryrefslogtreecommitdiff
path: root/include/linux/phy
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-04-29 09:16:02 +0300
committerakpm <akpm@linux-foundation.org>2022-04-29 09:16:02 +0300
commitef526b17bc3399b8df25d574aa11fc36f89da80a (patch)
tree8a50e6001aa05eea971162f4883641cf27fc647a /include/linux/phy
parent3f871370686ddf3c72207321eef8f6672ae957e4 (diff)
downloadlinux-ef526b17bc3399b8df25d574aa11fc36f89da80a.tar.xz
mm/memory-failure.c: dissolve truncated hugetlb page
If me_huge_page meets a truncated but not yet freed hugepage, it won't be dissolved even if we hold the last refcnt. It's because the hugepage has NULL page_mapping while it's not anonymous hugepage too. Thus we lose the last chance to dissolve it into buddy to save healthy subpages. Remove PageAnon check to handle these hugepages too. Link: https://lkml.kernel.org/r/20220414114941.11223-3-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com> Cc: David Hildenbrand <david@redhat.com> Cc: Yang Shi <shy828301@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/phy')
0 files changed, 0 insertions, 0 deletions