default or selected kernelversion does not have config value CONFIG_KMEMCHECK.
Result is shown for kernelversion 6.5.1
kmemcheck: trap use of uninitialized memory
modulename: kmemcheck.ko
configname: CONFIG_KMEMCHECK
Linux Kernel Configuration
└─>Memory Debugging
└─>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_KERNELCONFIG_HAVE_ARCH_KMEMCHECK
NOT CONFIG_CC_OPTIMIZE_FOR_SIZE
NOT CONFIG_FUNCTION_TRACER
NOT CONFIG_X86_USE_3DNOW
CONFIG_SLAB or CONFIG_SLUB