[openwrt/openwrt] kernel: add KERNEL_STACKDEPOT_MAX_FRAMES

LEDE Commits lede-commits at lists.infradead.org
Thu May 1 15:07:47 PDT 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/8650a9ee858765966d85b06a5b7f0369aeda0705

commit 8650a9ee858765966d85b06a5b7f0369aeda0705
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Thu May 1 23:09:49 2025 +0300

    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 at linux-ipv6.be>
    Link: https://github.com/openwrt/openwrt/pull/18676
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 config/Config-kernel.in | 5 +++++
 1 file changed, 5 insertions(+)

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"
 




More information about the lede-commits mailing list