[PATCH mm-unstable v2 0/4] Convert a couple migrate functions to use folios

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

 



This patch set introduces folio_movable_ops() and converts 3 functions
in mm/migrate.c to use folios. It also introduces
folio_get_nontail_page() for folio conversions which may want to
distinguish between head and tail pages.

---
v2:
  - Add folio_get_nontail_page() to fix behavior in isolate_movable_page()
  - Rebase on latest mm-unstable

Vishal Moola (Oracle) (4):
  mm: Add folio_get_nontail_page()
  mm/migrate: Add folio_movable_ops()
  mm/migrate: Convert isolate_movable_page() to use folios
  mm/migrate: Convert putback_movable_pages() to use folios

 include/linux/migrate.h |  9 +++++
 include/linux/mm.h      |  7 ++++
 mm/migrate.c            | 87 +++++++++++++++++++++--------------------
 3 files changed, 60 insertions(+), 43 deletions(-)

-- 
2.38.1





[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