mm-use-zone-lock-guard-in-unreserve_highatomic_pageblock.patch removed from -mm tree
The quilt patch titled
Subject: mm: use zone lock guard in unreserve_highatomic_pageblock()
has been removed from the -mm tree. Its filename was
mm-use-zone-lock-guard-in-unreserve_highatomic_pageblock.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: Dmitry Ilvokhin <[email protected]>
Subject: mm: use zone lock guard in unreserve_highatomic_pageblock()
Date: Wed, 29 Apr 2026 12:02:08 +0000
Use spinlock_irqsave zone lock guard in unreserve_highatomic_pageblock() to replace the explicit lock/unlock pattern with automatic scope-based cleanup.
---
mm/page_alloc.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-use-zone-lock-guard-in-unreserve_highatomic_pageblock +2 -6
@@ -3491,7 +3491,6 @@ static bool unreserve_highatomic_pageblo bool force) {struct zonelist *zonelist = ac->zonelist; -unsigned long flags;struct zoneref *z;struct zone *zone;struct page *page;
@@ -3508,7 +3507,7 @@ static bool unreserve_highatomic_pageblo pageblock_nr_pages)continue ; -spin_lock_irqsave (&zone->lock, flags); +guard (spinlock_irqsave)(&zone->lock);for (order =0 ; order <NR_PAGE_ORDERS ; order++) {struct free_area *area = &(zone->free_area[order]);unsigned long size;
@@ -3555,12 +3554,9 @@ static bool unreserve_highatomic_pageblo* so this should not fail on zone boundaries. */ WARN_ON_ONCE (ret ==-1 ); -if (ret >0 ) { -spin_unlock_irqrestore (&zone->lock, flags); +if (ret >0 )return ret; - } } -spin_unlock_irqrestore (&zone->lock, flags); }return false;
_
Patches currently in -mm which might be from [email protected] are
mm-page_alloc-fix-defrag_mode-for-non-reclaimable-allocations.patch