mmzone: introduce folio_is_zone_movable()
authorVishal Moola (Oracle) <vishal.moola@gmail.com>
Wed, 14 Jun 2023 02:13:08 +0000 (19:13 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 19 Jun 2023 23:19:34 +0000 (16:19 -0700)
commit708ff4914dfb410761227a219c17c3e9dbd68c05
tree826a3aeced728b7dd9d33a4fa66785b3dd7250e6
parent452c03fdbed0d19f907c877a6a9edd226b1ebad9
mmzone: introduce folio_is_zone_movable()

Patch series "Replace is_longterm_pinnable_page()", v2.

This patchset introduces some more helper functions for the folio
conversions, and converts all callers of is_longterm_pinnable_page() to
use folios.

This patch (of 5):

Introduce folio_is_zone_movable() to act as a folio equivalent for
is_zone_movable_page().  This is to assist in later folio conversions.

Link: https://lkml.kernel.org/r/20230614021312.34085-1-vishal.moola@gmail.com
Link: https://lkml.kernel.org/r/20230614021312.34085-2-vishal.moola@gmail.com
Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mmzone.h