[openwrt/openwrt] kernel: Activate CONFIG_SCHED_STACK_END_CHECK
LEDE Commits
lede-commits at lists.infradead.org
Sat Apr 29 03:41:11 PDT 2023
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1f41b6bb83a528a67934c5504094903afff7ab15
commit 1f41b6bb83a528a67934c5504094903afff7ab15
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Apr 22 19:36:22 2023 +0200
kernel: Activate CONFIG_SCHED_STACK_END_CHECK
This activates the CONFIG_SCHED_STACK_END_CHECK option.
The kernel will check if the kernel stack overflowed in the schedule()
function. This just adds a very small computational overhead.
This option is activated in Debian by default.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/generic/config-5.10 | 2 +-
target/linux/generic/config-5.15 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10
index 5b2aad99c3..9645072a55 100644
--- a/target/linux/generic/config-5.10
+++ b/target/linux/generic/config-5.10
@@ -5017,7 +5017,7 @@ CONFIG_SCHED_HRTICK=y
# CONFIG_SCHED_MC is not set
CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_SCHED_SMT is not set
-# CONFIG_SCHED_STACK_END_CHECK is not set
+CONFIG_SCHED_STACK_END_CHECK=y
# CONFIG_SCHED_TRACER is not set
# CONFIG_SCR24X is not set
# CONFIG_SCSI is not set
diff --git a/target/linux/generic/config-5.15 b/target/linux/generic/config-5.15
index eae1adb5dd..3d5a860673 100644
--- a/target/linux/generic/config-5.15
+++ b/target/linux/generic/config-5.15
@@ -5274,7 +5274,7 @@ CONFIG_SCHED_HRTICK=y
# CONFIG_SCHED_MC is not set
CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_SCHED_SMT is not set
-# CONFIG_SCHED_STACK_END_CHECK is not set
+CONFIG_SCHED_STACK_END_CHECK=y
# CONFIG_SCHED_TRACER is not set
# CONFIG_SCR24X is not set
# CONFIG_SCSI is not set
More information about the lede-commits
mailing list