@@ -632,6 +632,18 @@ config DEBUG_STACK_USAGE
632
632
633
633
This option will slow down process creation somewhat.
634
634
635
+ config SCHED_STACK_END_CHECK
636
+ bool "Detect stack corruption on calls to schedule()"
637
+ depends on DEBUG_KERNEL
638
+ default n
639
+ help
640
+ This option checks for a stack overrun on calls to schedule().
641
+ If the stack end location is found to be over written always panic as
642
+ the content of the corrupted region can no longer be trusted.
643
+ This is to ensure no erroneous behaviour occurs which could result in
644
+ data corruption or a sporadic crash at a later stage once the region
645
+ is examined. The runtime overhead introduced is minimal.
646
+
635
647
config DEBUG_VM
636
648
bool "Debug VM"
637
649
depends on DEBUG_KERNEL
@@ -985,18 +997,6 @@ config SCHEDSTATS
985
997
application, you can say N to avoid the very slight overhead
986
998
this adds.
987
999
988
- config SCHED_STACK_END_CHECK
989
- bool "Detect stack corruption on calls to schedule()"
990
- depends on DEBUG_KERNEL
991
- default n
992
- help
993
- This option checks for a stack overrun on calls to schedule().
994
- If the stack end location is found to be over written always panic as
995
- the content of the corrupted region can no longer be trusted.
996
- This is to ensure no erroneous behaviour occurs which could result in
997
- data corruption or a sporadic crash at a later stage once the region
998
- is examined. The runtime overhead introduced is minimal.
999
-
1000
1000
config DEBUG_TIMEKEEPING
1001
1001
bool "Enable extra timekeeping sanity checking"
1002
1002
help
0 commit comments