mm-drop-stale-max_order-references.patch removed from -mm tree
The quilt patch titled
Subject: mm: drop stale MAX_ORDER references
has been removed from the -mm tree. Its filename was
mm-drop-stale-max_order-references.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: Qi Xi <[email protected]>
Subject: mm: drop stale MAX_ORDER references
Date: Wed, 19 Aug 2026 16:20:52 +0800
The treewide rename in commit 5e0a760b4441 ("mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDER") left a few spots still using the old name:
- two comments in include/net/mana/mana.h and mm/page_alloc.c;
- the gdb helper scripts/gdb/linux/mm.py, where self.MAX_ORDER is a local mirror of the kernel's MAX_ORDER define.
Rename the leftover instances to MAX_PAGE_ORDER so the tree is consistent.
No functional changes.
---
include/net/mana/mana.h | 4 ++-- mm/page_alloc.c | 2 +- scripts/gdb/linux/mm.py | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-)
include/net/mana/mana.h renamed from include/net/mana/mana.h~mm-drop-stale-max_order-references +2 -2
@@ -47,8 +47,8 @@ enum mana_priv_flag_bits {#define COMP_ENTRY_SIZE 64/* This Max value for RX buffers is derived from __alloc_page()'s max page -* allocation calculation. It allows maximum 2^(MAX_ORDER -1) pages. RX buffer -* size beyond this value gets rejected by __alloc_page() call. +* allocation calculation. It allows maximum 2^MAX_PAGE_ORDER pages. RX +* buffer size beyond this value gets rejected by __alloc_page() call. */ #define MAX_RX_BUFFERS_PER_QUEUE 8192#define DEF_RX_BUFFERS_PER_QUEUE 1024
mm/page_alloc.c renamed from mm/page_alloc.c~mm-drop-stale-max_order-references +1 -1
@@ -7978,7 +7978,7 @@ static bool cond_accept_memory(struct zo/* * Watermarks have not been initialized yet. * -* Accepting one MAX_ORDER page to ensure progress. +* Accepting one MAX_PAGE_ORDER page to ensure progress. */ if (!wmark)return try_to_accept_memory_one (zone);
scripts/gdb/linux/mm.py renamed from scripts/gdb/linux/mm.py~mm-drop-stale-max_order-references +4 -4
@@ -56,7 +56,7 @@ class x86_page_ops(): self.MAX_PHYSMEM_BITS = 46 self.SECTION_SIZE_BITS = 27 - self.MAX_ORDER = 10 + self.MAX_PAGE_ORDER = 10 self.SECTIONS_SHIFT = self.MAX_PHYSMEM_BITS - self.SECTION_SIZE_BITS self.NR_MEM_SECTIONS = 1 << self.SECTIONS_SHIFT
@@ -233,11 +233,11 @@ class aarch64_page_ops(): self.SECTIONS_SHIFT = self.MAX_PHYSMEM_BITS - self.SECTION_SIZE_BITS if str(constants.LX_CONFIG_ARCH_FORCE_MAX_ORDER).isdigit(): - self.MAX_ORDER = constants.LX_CONFIG_ARCH_FORCE_MAX_ORDER + self.MAX_PAGE_ORDER = constants.LX_CONFIG_ARCH_FORCE_MAX_ORDER else: - self.MAX_ORDER = 10 + self.MAX_PAGE_ORDER = 10 - self.MAX_ORDER_NR_PAGES = 1 << (self.MAX_ORDER) + self.MAX_ORDER_NR_PAGES = 1 << (self.MAX_PAGE_ORDER) self.PFN_SECTION_SHIFT = self.SECTION_SIZE_BITS - self.PAGE_SHIFT self.NR_MEM_SECTIONS = 1 << self.SECTIONS_SHIFT self.PAGES_PER_SECTION = 1 << self.PFN_SECTION_SHIFT
_
Patches currently in -mm which might be from [email protected] are