Kernel memory leak detector 0.5
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | Base support for kmemleakinclude/ include/ init/ +3 more | +1149 | 0 replies | |
| 2/8 | Some documentation for kmemleakDocumentation/ | +92 | 0 replies | |
| 3/8 | Add the memory allocation/freeing hooks for kmemleakdrivers/ include/ mm/ +2 more | +49 | 0 replies | |
| 4/8 | Modules support for kmemleakkernel/ | +32 | 0 replies | |
| 5/8 | Add kmemleak support for i386arch/ include/ | +16 | 0 replies | |
| 6/8 | Add kmemleak support for ARMarch/ include/ | +19 | 0 replies | |
| 7/8 | Remove some of the kmemleak false positivesarch/ ipc/ kernel/ +1 more | +9 | 0 replies | |
| 8/8 | Simple testing for kmemleaklib/ mm/ mm/ | +93 | 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/8] Kernel memory leak detector 0.5
This is a new version (0.5) of the kernel memory leak detector. It is mainly a bug-fix release after testing it with a wider range of kernel modules. See the Documentation/kmemleak.txt file for a more detailed description. The patches are downloadable from (the bundled patch or the series):
http://homepage.ntlworld.com/cmarinas/kmemleak/patch-2.6.17-rc5-kmemleak-0.5.bz2
http://homepage.ntlworld.com/cmarinas/kmemleak/patches-kmemleak-0.5.tar.bz2
What's new in this version:
- fixed panic caused by some secondary offsets in modules
- removed the panic when not all aliases are found for freed pointers as the aliases list can be modified by modules insertion
- following Pavel's suggestion, shortened the function names by removing "_debug"
To do:
- more testing
- test Ingo's suggestion on task stacks scanning
- NUMA support
- (support for ioremap tracking)
Note that gcc4 cannot compile the kernels with this patch because of a bug with __builtin_constant_p (always returning true).
Any bug reports or suggestions are more than welcome as I can only test it with a limited number of kernel configurations.
Thanks.
Signature · 1 line
Catalin