[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220415011854.GA3355774@hori.linux.bs1.fc.nec.co.jp>
Date: Fri, 15 Apr 2022 01:18:55 +0000
From: HORIGUCHI NAOYA(堀口 直也)
<naoya.horiguchi@....com>
To: Miaohe Lin <linmiaohe@...wei.com>
CC: "akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"shy828301@...il.com" <shy828301@...il.com>,
"david@...hat.com" <david@...hat.com>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 2/2] mm/memory-failure.c: dissolve truncated hugetlb
page
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@...wei.com>
Thank you for the update.
Acked-by: Naoya Horiguchi <naoya.horiguchi@....com>
Powered by blists - more mailing lists