Message ID | 20240816090435.888946-1-wangkefeng.wang@huawei.com (mailing list archive) |
---|---|
Headers | show |
Series | mm: memory_hotplug: improve do_migrate_range() | expand |
Sorry for the noise, please ignore this one, will resend. On 2024/8/16 17:04, Kefeng Wang wrote: > Unify hwpoisoned page handling and isolation of HugeTLB/LRU/non-LRU > movable page, also convert to use folios in do_migrate_range(). > > v2: > - address comments from David(eg, fix HWPoison check/use a folio > for pfn calculation firstly) > - fix lkp build errors for isolate_folio_to_list() > - drop unnecessary comments and don't grab one more ref for hugetlb > > Kefeng Wang (5): > mm: memory_hotplug: remove head variable in do_migrate_range() > 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 > > include/linux/migrate.h | 3 ++ > mm/internal.h | 9 +++++ > mm/memory-failure.c | 89 +++++++++++++++++------------------------ > mm/memory_hotplug.c | 62 ++++++++++++++-------------- > mm/migrate.c | 27 +++++++++++++ > 5 files changed, 105 insertions(+), 85 deletions(-) >