Skip to contentSkip to conversation

mmzone-introduce-folio_is_zone_movable.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jun 19, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mmzone: introduce folio_is_zone_movable()
has been removed from the -mm tree. Its filename was
mmzone-introduce-folio_is_zone_movable.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: "Vishal Moola (Oracle)" <[email protected]>
Subject: mmzone: introduce folio_is_zone_movable()
Date: Tue, 13 Jun 2023 19:13:08 -0700

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.

---

 include/linux/mmzone.h |    5 +++++
 1 file changed, 5 insertions(+)
include/linux/mmzone.h renamed from include/linux/mmzone.h~mmzone-introduce-folio_is_zone_movable +5 -0
@@ -1116,6 +1116,11 @@ static inline bool is_zone_movable_page(
 {
 	return page_zonenum(page) == ZONE_MOVABLE;
 }
+
+static inline bool folio_is_zone_movable(const struct folio *folio)
+{
+	return folio_zonenum(folio) == ZONE_MOVABLE;
+}
 #endif
 
 /*

_

Patches currently in -mm which might be from [email protected] are

afs-fix-dangling-folio-ref-counts-in-writeback.patch afs-fix-waiting-for-writeback-then-skipping-folio.patch