summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStijn Tintel2025-05-01 20:09:49 +0000
committerChristian Marangi2025-05-01 22:07:39 +0000
commit8650a9ee858765966d85b06a5b7f0369aeda0705 (patch)
tree64f2a81ea9229647b3c10de76531717e0c415576
parenta8c04725f0465d2ae269e0935a14a080ad6316f1 (diff)
downloadopenwrt-8650a9ee858765966d85b06a5b7f0369aeda0705.tar.gz
kernel: add KERNEL_STACKDEPOT_MAX_FRAMES
When KERNEL_SLUB_DEBUG is enabled, build fails due to the KERNEL_STACKDEPOT_MAX_FRAMES missing. Add it. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Link: https://github.com/openwrt/openwrt/pull/18676 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--config/Config-kernel.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 34c76ee424..fdda05f45f 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -741,6 +741,11 @@ config KERNEL_SLABINFO
select KERNEL_SLUB_DEBUG_ON
bool "Enable /proc slab debug info"
+config KERNEL_STACKDEPOT_MAX_FRAMES
+ int
+ default 64
+ depends on KERNEL_SLUB_DEBUG
+
config KERNEL_PROC_PAGE_MONITOR
bool "Enable /proc page monitoring"