mm-zsmalloc-make-pagezsmalloc-sticky-until-the-page-is-freed.patch removed from -mm tree
The quilt patch titled
Subject: mm/zsmalloc: make PageZsmalloc() sticky until the page is freed
has been removed from the -mm tree. Its filename was
mm-zsmalloc-make-pagezsmalloc-sticky-until-the-page-is-freed.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: David Hildenbrand <[email protected]>
Subject: mm/zsmalloc: make PageZsmalloc() sticky until the page is freed
Date: Fri, 4 Jul 2025 12:25:00 +0200
Let the page freeing code handle clearing the page type. Being able to identify balloon pages until actually freed is a requirement for upcoming movable_ops migration changes.
---
mm/zpdesc.h | 5 ----- mm/zsmalloc.c | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-)
mm/zpdesc.h renamed from mm/zpdesc.h~mm-zsmalloc-make-pagezsmalloc-sticky-until-the-page-is-freed +0 -5
@@ -163,11 +163,6 @@ static inline void __zpdesc_set_zsmalloc__SetPageZsmalloc (zpdesc_page (zpdesc)); } -static inline void __zpdesc_clear_zsmalloc (struct zpdesc *zpdesc) -{ -__ClearPageZsmalloc (zpdesc_page (zpdesc)); -} -static inline struct zone *zpdesc_zone (struct zpdesc *zpdesc) {return page_zone (zpdesc_page (zpdesc));
mm/zsmalloc.c renamed from mm/zsmalloc.c~mm-zsmalloc-make-pagezsmalloc-sticky-until-the-page-is-freed +2 -2
@@ -244,6 +244,7 @@ static inline void free_zpdesc(struct zp {struct page *page =zpdesc_page (zpdesc); +/* PageZsmalloc is sticky until the page is freed to the buddy. */ __free_page (page); }
@@ -880,7 +881,7 @@ static void reset_zpdesc(struct zpdesc *ClearPagePrivate (page); zpdesc->zspage =NULL ; zpdesc->next =NULL ; -__ClearPageZsmalloc (page); +/* PageZsmalloc is sticky until the page is freed to the buddy. */ }static int trylock_zspage (struct zspage *zspage)
@@ -1055,7 +1056,6 @@ static struct zspage *alloc_zspage(strucif (!zpdesc) {while (--i >=0 ) {zpdesc_dec_zone_page_state (zpdescs[i]); -__zpdesc_clear_zsmalloc (zpdescs[i]);free_zpdesc (zpdescs[i]); }cache_free_zspage (pool, zspage);
_
Patches currently in -mm which might be from [email protected] are
mm-convert-fpb_ignore_-into-fpb_respect_.patch mm-smaller-folio_pte_batch-improvements.patch mm-split-folio_pte_batch-into-folio_pte_batch-and-folio_pte_batch_flags.patch mm-remove-boolean-output-parameters-from-folio_pte_batch_ext.patch mm-memory-introduce-is_huge_zero_pfn-and-use-it-in-vm_normal_page_pmd.patch