Skip to contentSkip to conversation

stackdepot-make-max-number-of-pools-boot-time-configurable.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Aug 2, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: stackdepot: make max number of pools boot-time configurable
has been removed from the -mm tree. Its filename was
stackdepot-make-max-number-of-pools-boot-time-configurable.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Matt Fleming <[email protected]>
Subject: stackdepot: make max number of pools boot-time configurable
Date: Fri, 18 Jul 2025 16:39:28 +0100

We're hitting the WARN in depot_init_pool() about reaching the stack depot limit because we have long stacks that don't dedup very well.

Introduce a new start-up parameter to allow users to set the number of maximum stack depot pools.

---

 Documentation/admin-guide/kernel-parameters.txt |    5 +
 lib/stackdepot.c                                |   67 ++++++++++++--
 2 files changed, 63 insertions(+), 9 deletions(-)
Documentation/admin-guide/kernel-parameters.txt renamed from Documentation/admin-guide/kernel-parameters.txt~stackdepot-make-max-number-of-pools-boot-time-configurable +5 -0
@@ -7029,6 +7029,11 @@
 			consumed by the stack hash table. By default this is set
 			to false.
 
+	stack_depot_max_pools= [KNL,EARLY]
+			Specify the maximum number of pools to use for storing
+			stack traces. Pools are allocated on-demand up to this
+			limit. Default value is 8191 pools.
+
 	stacktrace	[FTRACE]
 			Enabled the stack tracer on boot up.
 
lib/stackdepot.c renamed from lib/stackdepot.c~stackdepot-make-max-number-of-pools-boot-time-configurable +58 -9

110 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are