File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1246,13 +1246,16 @@ config DEBUG_TIMEKEEPING
1246
1246
config DEBUG_PREEMPT
1247
1247
bool "Debug preemptible kernel"
1248
1248
depends on DEBUG_KERNEL && PREEMPTION && TRACE_IRQFLAGS_SUPPORT
1249
- default y
1250
1249
help
1251
1250
If you say Y here then the kernel will use a debug variant of the
1252
1251
commonly used smp_processor_id() function and will print warnings
1253
1252
if kernel code uses it in a preemption-unsafe way. Also, the kernel
1254
1253
will detect preemption count underflows.
1255
1254
1255
+ This option has potential to introduce high runtime overhead,
1256
+ depending on workload as it triggers debugging routines for each
1257
+ this_cpu operation. It should only be used for debugging purposes.
1258
+
1256
1259
menu "Lock Debugging (spinlocks, mutexes, etc...)"
1257
1260
1258
1261
config LOCK_DEBUGGING_SUPPORT
You can’t perform that action at this time.
0 commit comments