summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorQi Xi <xiqi2@huawei.com>2026-08-19 16:20:52 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-10-06 17:38:43 -0700
commitdc954a916d53b0adbebd1498684cd656ce7ade62 (patch)
treea77a7b7932bc5e477d507c13d043ee11b3604d6d /include
parent51216825099e36bf9d39de375749d8365556c5fc (diff)
downloadlinux-next-dc954a916d53b0adbebd1498684cd656ce7ade62.tar.gz
linux-next-dc954a916d53b0adbebd1498684cd656ce7ade62.zip
mm: drop stale MAX_ORDER references
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. Link: https://lore.kernel.org/20260819082052.3338603-1-xiqi2@huawei.com Signed-off-by: Qi Xi <xiqi2@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Zi Yan <ziy@nvidia.com> Cc: Jan Kiszka <jan.kiszka@siemens.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: Kieran Bingham <kbingham@kernel.org> Cc: Konstantin Taranov <kotaranov@microsoft.com> Cc: Long Li <longli@microsoft.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Nanyong Sun <sunnanyong@huawei.com> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/mana/mana.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/mana/mana.h b/include/net/mana/mana.h
index 83b7eff4646e..e8fda092be37 100644
--- a/include/net/mana/mana.h
+++ b/include/net/mana/mana.h
@@ -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