Re: [PATCH v4 15/21] mm/ksw: add test module

Randy Dunlap
2025-09-13T04:07:48Z

On 9/12/25 3:11 AM, Jinchao Wang wrote:
> 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: ^^^^^^^^^^^

> +
> + If unsure, say N.

--
~Randy