General setup —>
Choose SLAB allocator (SLUB (Unqueued Allocator))—>
()SLAB
(X) SLUB (Unqueued Allocator)
()SLOB (Simple Allocator)
Kernel hacking —>
Memory Debugging —>
[*]SLUB debugging on by default
[*]Enable SLUB performance statistics
[*] KASAN: runtime memory debugger —>
地址消毒会降低cpu使用效率,编译出来的内核会增大不少