kmemcheck: trap use of uninitialized memory
modulename: kmemcheck.ko
configname: CONFIG_KMEMCHECK
Linux Kernel Configuration
└─>kmemcheck: trap use of uninitialized memory
In linux kernel since version 2.6.31 (release Date: 2009-09-09)
This option enables tracing of dynamically allocated kernel memory
to see if memory is used before it has been given an initial value.
Be aware that this requires half of your memory for bookkeeping and
will insert extra code at *every* read and write to tracked memory
thus slow down the kernel code (but user code is unaffected).
The kernel may be started with kmemcheck=0 or kmemcheck=1 to disable
or enable kmemcheck at boot-time. If the kernel is started with
kmemcheck=0, the large memory and CPU overhead is not incurred.
to see if memory is used before it has been given an initial value.
Be aware that this requires half of your memory for bookkeeping and
will insert extra code at *every* read and write to tracked memory
thus slow down the kernel code (but user code is unaffected).
The kernel may be started with kmemcheck=0 or kmemcheck=1 to disable
or enable kmemcheck at boot-time. If the kernel is started with
kmemcheck=0, the large memory and CPU overhead is not incurred.
source code:
depends
CONFIG_DEBUG_KERNELNOT CONFIG_CC_OPTIMIZE_FOR_SIZE
NOT CONFIG_FUNCTION_TRACER
NOT CONFIG_X86_USE_3DNOW
CONFIG_SLAB or CONFIG_SLUB or CONFIG_HAVE_ARCH_KMEMCHECK