[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250116061657.227027-1-mawupeng1@huawei.com>
Date: Thu, 16 Jan 2025 14:16:54 +0800
From: Wupeng Ma <mawupeng1@...wei.com>
To: <akpm@...ux-foundation.org>, <david@...hat.com>, <osalvador@...e.de>,
<nao.horiguchi@...il.com>, <linmiaohe@...wei.com>, <mhocko@...e.com>
CC: <mawupeng1@...wei.com>, <linux-mm@...ck.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH v2 0/3] mm: memory_failure: unmap poisoned filio during migrate properly
From: Ma Wupeng <mawupeng1@...wei.com>
Fix two bugs during migrate folio if folio is poisoned.
Changelog since v1:
- update ttu flag inside unmap_poisoned_folio.
- check folio ref count before unmap HWpoisoned folio.
Ma Wupeng (3):
mm: memory-failure: update ttu flag inside unmap_poisoned_folio
hwpoison, memory_hotplug: lock folio before unmap hwpoisoned folio
mm: memory-hotplug: check folio ref count first in do_migrate_rang
mm/internal.h | 5 ++--
mm/memory-failure.c | 61 +++++++++++++++++++++++----------------------
mm/memory_hotplug.c | 22 ++++++++--------
3 files changed, 44 insertions(+), 44 deletions(-)
--
2.43.0
Powered by blists - more mailing lists