Kmemleak provides a way of detecting possible kernel memory leaks in a<br />
way similar to a tracing garbage collector, with the difference that the orphan objects are not freed but only reported via /sys/kernel/debug/kmemleak.<br />
<br />
For this after doing make menuconfig in kernel source tree, CONFIG_DEBUG_KMEMLEAK in "Kernel hacking" has to be enabled. This option is by default disabled in the SRPMs of CentOS. If this option is enabled, creating Custom kernels which are such a pain in the neck, can be avoided
↧