Detecting kernel memory leaks
Detecting kernel memory leaks
Posted Jul 19, 2006 15:55 UTC (Wed) by liljencrantz (guest, #28458)In reply to: Detecting kernel memory leaks by nix
Parent article: Detecting kernel memory leaks
Slabs are a performance hack to make some allocation patterns faster. This is completely different from halloc, which is a method for making memory deallocation significantly less cumbersome for the programmer. Both have the potential to waste less time and memory, but that is mainly a possible byproduct in the case of halloc.
Notifiers would work as a replacement for the halloc callback functions, but the result would be wordier and need more changes on existing code.