On Thu, Apr 14, 2022 at 07:49:41PM +0800, Miaohe Lin wrote: > 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. > > Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx> Thank you for the update. Acked-by: Naoya Horiguchi <naoya.horiguchi@xxxxxxx>