aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2023-04-22 19:36:22 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2023-04-29 12:40:10 +0200
commit1f41b6bb83a528a67934c5504094903afff7ab15 (patch)
tree5206e259c86f018995b8a2b37c0c53f0a50fb7cc /target/linux
parentff536eca585431a9c90b9e835df818a27decf730 (diff)
downloadupstream-1f41b6bb83a528a67934c5504094903afff7ab15.tar.gz
upstream-1f41b6bb83a528a67934c5504094903afff7ab15.tar.bz2
upstream-1f41b6bb83a528a67934c5504094903afff7ab15.zip
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@hauke-m.de>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic/config-5.102
-rw-r--r--target/linux/generic/config-5.152
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