mm-zsmalloc-drop-pageisolated-related-vm_bug_ons.patch removed from -mm tree
The quilt patch titled
Subject: mm/zsmalloc: drop PageIsolated() related VM_BUG_ONs
has been removed from the -mm tree. Its filename was
mm-zsmalloc-drop-pageisolated-related-vm_bug_ons.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: drop PageIsolated() related VM_BUG_ONs
Date: Fri, 4 Jul 2025 12:24:57 +0200
Let's drop these checks; these are conditions the core migration code must make sure will hold either way, no need to double check.
---
mm/zpdesc.h | 5 ----- mm/zsmalloc.c | 5 ----- 2 files changed, 10 deletions(-)
mm/zpdesc.h renamed from mm/zpdesc.h~mm-zsmalloc-drop-pageisolated-related-vm_bug_ons +0 -5
@@ -168,11 +168,6 @@ static inline void __zpdesc_clear_zsmall__ClearPageZsmalloc (zpdesc_page (zpdesc)); } -static inline bool zpdesc_is_isolated (struct zpdesc *zpdesc) -{ -return PageIsolated (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-drop-pageisolated-related-vm_bug_ons +0 -5
@@ -1719,8 +1719,6 @@ static bool zs_page_isolate(struct page* Page is locked so zspage couldn't be destroyed. For detail, look at * lock_zspage in free_zspage. */ -VM_BUG_ON_PAGE (PageIsolated (page), page); -return true; }
@@ -1739,8 +1737,6 @@ static int zs_page_migrate(struct page *unsigned long old_obj, new_obj;unsigned int obj_idx; -VM_BUG_ON_PAGE (!zpdesc_is_isolated (zpdesc),zpdesc_page (zpdesc)); -/* The page is locked, so this pointer must remain valid */ zspage =get_zspage (zpdesc); pool = zspage->pool;
@@ -1811,7 +1807,6 @@ static int zs_page_migrate(struct page *static void zs_page_putback (struct page *page) { -VM_BUG_ON_PAGE (!PageIsolated (page), page); }static const struct movable_operations zsmalloc_mops = {
_
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