mbox series

[0/4] mm: memory_hotplug: improve do_migrate_range()

Message ID 20240725011647.1306045-1-wangkefeng.wang@huawei.com (mailing list archive)
Headers show
Series mm: memory_hotplug: improve do_migrate_range() | expand

Message

Kefeng Wang July 25, 2024, 1:16 a.m. UTC
Unify hwpoisoned page handling and isolation of HugeTLB/LRU/non-LRU
movable page, also convert to use folios in do_migrate_range().

Kefeng Wang (4):
  mm: memory-failure: add unmap_posioned_folio()
  mm: memory_hotplug: check hwpoisoned page firstly in
    do_migrate_range()
  mm: migrate: add isolate_folio_to_list()
  mm: memory_hotplug: unify Huge/LRU/non-LRU movable folio isolation

 mm/internal.h       | 11 ++++++++
 mm/memory-failure.c | 64 +++++++++++++++++++--------------------------
 mm/memory_hotplug.c | 61 ++++++++++++++++++------------------------
 mm/migrate.c        | 27 +++++++++++++++++++
 4 files changed, 90 insertions(+), 73 deletions(-)