linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH mm-unstable v2 0/4] Convert a couple migrate functions to use folios
@ 2023-01-30 21:43 Vishal Moola (Oracle)
  2023-01-30 21:43 ` [PATCH mm-unstable v2 1/4] mm: Add folio_get_nontail_page() Vishal Moola (Oracle)
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Vishal Moola (Oracle) @ 2023-01-30 21:43 UTC (permalink / raw)
  To: linux-mm; +Cc: akpm, willy, linux-kernel, Vishal Moola (Oracle)

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-30 21:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 21:43 [PATCH mm-unstable v2 0/4] Convert a couple migrate functions to use folios Vishal Moola (Oracle)
2023-01-30 21:43 ` [PATCH mm-unstable v2 1/4] mm: Add folio_get_nontail_page() Vishal Moola (Oracle)
2023-01-30 21:43 ` [PATCH mm-unstable v2 2/4] mm/migrate: Add folio_movable_ops() Vishal Moola (Oracle)
2023-01-30 21:43 ` [PATCH mm-unstable v2 3/4] mm/migrate: Convert isolate_movable_page() to use folios Vishal Moola (Oracle)
2023-01-30 21:43 ` [PATCH mm-unstable v2 4/4] mm/migrate: Convert putback_movable_pages() " Vishal Moola (Oracle)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox