[PATCH 2.6.17-rc5 0/7] Kernel memory leak detector 0.2

From: Catalin Marinas
Date: Sat May 27 2006 - 08:22:12 EST


This is a new version (0.2) of the kernel memory leak detector based
on the tracing garbage collection technique. See the
Documentation/kmemleak.txt file for a more detailed description. The
patches are also available from
http://homepage.ntlworld.com/cmarinas/kmemleak/.

Thanks to all who contributed useful suggestions for these patches.

What's new in this version:

- cleaned up the code according to the suggestions on LKML
- implemented the buffering of allocation/freeing calls before
kmemleak is properly initialised (many allocations would be missed
without this feature)
- moved the pointer leaks information from /proc/memleak to
/sys/kernel/debug/memleak (debugfs)
- the task stacks are not scanned by default because this can lead
to many false negatives
- fixed the locking and tested on SMP (ARM)
- fixed other bugs

To do:

- better testing
- better support for modules (module static variables, new pointer
aliases found in modules)
- test Ingo's suggestion on task stack scanning
- NUMA support

--
Catalin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/