Detecting kernel memory leaks
Posted Jul 27, 2006 8:49 UTC (Thu) by cmarinas
In reply to: Detecting kernel memory leaks
Parent article: Detecting kernel memory leaks
Indeed, the algorithm is pretty close to a garbage collection one, only that it doesn't try to free the orphan blocks.
Apart from the technical difficulties of a complete garbage collector in the kernel (big overhead, SMP systems, "stop the world scanning", pointer aliasing - see the container_of workaround in kmemleak), I am personally against it as it would make people lazier in dealing with memory resources.
to post comments)