From: Josh Poimboeuf <jpoimboe(a)redhat.com>
redhat/configs: Enable CONFIG_SCHED_STACK_END_CHECK for Fedora and ARK
CONFIG_SCHED_STACK_END_CHECK checks for stack overrun in calls to
schedule(). In internal testing, it had no measurable performance
impact.
Enable it for Fedora and ARK.
Signed-off-by: Josh Poimboeuf <jpoimboe(a)redhat.com>
diff a/redhat/configs/common/generic/CONFIG_SCHED_STACK_END_CHECK
b/redhat/configs/common/generic/CONFIG_SCHED_STACK_END_CHECK
--- a/redhat/configs/common/generic/CONFIG_SCHED_STACK_END_CHECK
+++ b/redhat/configs/common/generic/CONFIG_SCHED_STACK_END_CHECK
@@ -1 +1 @@
-# CONFIG_SCHED_STACK_END_CHECK is not set
+CONFIG_SCHED_STACK_END_CHECK=y
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/961