[PATCH v2 0/5] mm: convert to folio_isolate_movable()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Convert to the new folio_isolate_movable() to get rid of
isolate_movable_page().

Based on next-20240829.

v2:
- get page reference before isolate_movable_page, per Baolin
- since isolate_movable_page() callers with an elevated refcount
  of folio, directly use folio_get() and check folio reference in
  folio_isolate_movable(), per Vishal

Kefeng Wang (5):
  mm: compaction: get reference before non LRU movable folio isolation
  mm: migrate: add folio_isolate_movable()
  mm: migrate: convert to folio_isolate_movable()
  mm: compaction: convert to folio_isolate_movable()
  mm: migrate: remove isolate_movable_page()

 include/linux/migrate.h |  5 +++--
 mm/compaction.c         | 38 ++++++++++++++++----------------
 mm/migrate.c            | 49 +++++++++++++++++++----------------------
 3 files changed, 45 insertions(+), 47 deletions(-)

-- 
2.27.0





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux