mbox series

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

Message ID 20250113082718.1872494-1-mawupeng1@huawei.com (mailing list archive)
Headers show
Series mm: memory_failure: unmap poisoned filio during migrate properly | expand

Message

Wupeng Ma Jan. 13, 2025, 8:27 a.m. UTC
From: Ma Wupeng <mawupeng1@huawei.com>

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(-)