[PATCH 0/2] mm: memory_failure: unmap poisoned filio during migrate properly

From: Wupeng Ma
Date: Mon Jan 13 2025 - 03:35:05 EST


From: Ma Wupeng <mawupeng1@xxxxxxxxxx>

Fix two bugs during migrate folio if folio is poisoned.

Ma Wupeng (2):
mm: memory_hotplug: add TTU_HWPOISON for poisoned folio during migrate
hwpoison, memory_hotplug: lock folio before unmap hwpoisoned folio

mm/memory_hotplug.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

--
2.25.1