File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -1355,6 +1355,8 @@ config DEBUG_BUGVERBOSE
1355
1355
of the BUG call as well as the EIP and oops trace. This aids
1356
1356
debugging but costs about 70-100K of memory.
1357
1357
1358
+ menu "Debug kernel data structures"
1359
+
1358
1360
config DEBUG_LIST
1359
1361
bool "Debug linked list manipulation"
1360
1362
depends on DEBUG_KERNEL || BUG_ON_DATA_CORRUPTION
@@ -1394,6 +1396,18 @@ config DEBUG_NOTIFIERS
1394
1396
This is a relatively cheap check but if you care about maximum
1395
1397
performance, say N.
1396
1398
1399
+ config BUG_ON_DATA_CORRUPTION
1400
+ bool "Trigger a BUG when data corruption is detected"
1401
+ select DEBUG_LIST
1402
+ help
1403
+ Select this option if the kernel should BUG when it encounters
1404
+ data corruption in kernel memory structures when they get checked
1405
+ for validity.
1406
+
1407
+ If unsure, say N.
1408
+
1409
+ endmenu
1410
+
1397
1411
config DEBUG_CREDENTIALS
1398
1412
bool "Debug credential management"
1399
1413
depends on DEBUG_KERNEL
@@ -2107,16 +2121,6 @@ config MEMTEST
2107
2121
memtest=17, mean do 17 test patterns.
2108
2122
If you are unsure how to answer this question, answer N.
2109
2123
2110
- config BUG_ON_DATA_CORRUPTION
2111
- bool "Trigger a BUG when data corruption is detected"
2112
- select DEBUG_LIST
2113
- help
2114
- Select this option if the kernel should BUG when it encounters
2115
- data corruption in kernel memory structures when they get checked
2116
- for validity.
2117
-
2118
- If unsure, say N.
2119
-
2120
2124
source "samples/Kconfig"
2121
2125
2122
2126
config ARCH_HAS_DEVMEM_IS_ALLOWED
You can’t perform that action at this time.
0 commit comments