Debug preemptible kernel

modulename: smp_processor_id.ko

configname: CONFIG_DEBUG_PREEMPT

Linux Kernel Configuration
└─>Debug preemptible kernel
In linux kernel since version 2.6.12  
If you say Y here then the kernel will use a debug variant of the
commonly used smp_processor_id() function and will print warnings
if kernel code uses it in a preemption-unsafe way. Also, the kernel
will detect preemption count underflows.

source code: