[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <76680374-de67-0227-c553-7ef57178c165@huawei.com>
Date: Thu, 25 Sep 2025 09:38:16 +0800
From: Miaohe Lin <linmiaohe@...wei.com>
To: Xie Yuanbin <xieyuanbin1@...wei.com>
CC: <will@...nel.org>, <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
<nao.horiguchi@...il.com>, <akpm@...ux-foundation.org>, <david@...hat.com>,
<lorenzo.stoakes@...cle.com>, <Liam.Howlett@...cle.com>, <vbabka@...e.cz>,
<rppt@...nel.org>, <surenb@...gle.com>, <mhocko@...e.com>
Subject: Re: [PATCH] mm/memory-failure: not select MEMORY_ISOLATION
On 2025/9/22 22:36, Xie Yuanbin wrote:
> We added that "select MEMORY_ISOLATION" in commit ee6f509c3274 ("mm:
> factor out memory isolate functions").
> However, in commit add05cecef80 ("mm: soft-offline: don't free target
> page in successful page migration") we remove the need for it,
> where we removed the calls to set_migratetype_isolate() etc.
>
> What CONFIG_MEMORY_FAILURE soft-offline support wants is migrate_pages()
> support. But that comes with CONFIG_MIGRATION.
> And isolate_folio_to_list() has nothing to do with CONFIG_MEMORY_ISOLATION.
>
> Therefore, we can remove "select MEMORY_ISOLATION" of MEMORY_FAILURE.
>
> Acked-by: David Hildenbrand <david@...hat.com>
> Signed-off-by: Xie Yuanbin <xieyuanbin1@...wei.com>
Acked-by: Miaohe Lin <linmiaohe@...wei.com>
Thanks.
.
Powered by blists - more mailing lists