On Fri, Sep 12, 2025 at 09:07:11PM -0700, Randy Dunlap wrote:
On 9/12/25 3:11 AM, Jinchao Wang wrote:
quoted
diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug
index fdfc6e6d0dec..46c280280980 100644
--- a/mm/Kconfig.debug
+++ b/mm/Kconfig.debug
@@ -320,3 +320,13 @@ config KSTACK_WATCH
the recursive depth of the monitored function.
If unsure, say N.
+
+config KSTACK_WATCH_TEST
+ tristate "KStackWatch Test Module"
+ depends on KSTACK_WATCH
+ help
+ This module provides controlled stack exhaustion and overflow scenarios
+ to verify the functionality of KStackWatch. It is particularly useful
+ for development and validation of the KStachWatch mechanism.
typo: ^^^^^^^^^^^
Thanks, will be fix in next version.
quoted
+
+ If unsure, say N.
--
~Randy
--
Jinchao