]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: add KERNEL_STACKDEPOT_MAX_FRAMES 18676/head
authorStijn Tintel <stijn@linux-ipv6.be>
Thu, 1 May 2025 20:09:49 +0000 (23:09 +0300)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 1 May 2025 22:07:39 +0000 (00:07 +0200)
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>
config/Config-kernel.in

index 34c76ee4249e550949ef20190d29c603d60a9e21..fdda05f45f86bd77d370dd916cf00c7674d14637 100644 (file)
@@ -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"