kernel: Activate CONFIG_SCHED_STACK_END_CHECK
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 22 Apr 2023 17:36:22 +0000 (19:36 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Apr 2023 10:40:10 +0000 (12:40 +0200)
commit1f41b6bb83a528a67934c5504094903afff7ab15
tree5206e259c86f018995b8a2b37c0c53f0a50fb7cc
parentff536eca585431a9c90b9e835df818a27decf730
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>
target/linux/generic/config-5.10
target/linux/generic/config-5.15