Kernel memory leak detector 0.2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | Base support for kmemleakinclude/ include/ init/ +3 more | +907 | 2 replies | |
| 2/7 | Some documentation for kmemleakDocumentation/ | +92 | 0 replies | |
| 3/7 | Add the memory allocation/freeing hooks for kmemleakdrivers/ include/ mm/ +2 more | +53 | 0 replies | |
| 4/7 | Add kmemleak support for i386arch/ include/ | +16 | 0 replies | |
| 5/7 | Add kmemleak support for ARMarch/ include/ | +19 | 0 replies | |
| 6/7 | Remove some of the kmemleak false positivesipc/ kernel/ | +7 | 0 replies | |
| 7/7 | Simple testing for kmemleaklib/ mm/ mm/ | +63 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 2.6.17-rc5 0/7] Kernel memory leak detector 0.2
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
Signature · 1 line
Catalin