Skip to content

Kernel memory leak detector 0.6

Catalin Marinas lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Base support for kmemleakinclude/linux/kernel.h include/linux/memleak.h init/main.c +3 more+1204 -30 replies
2/8Some documentation for kmemleakDocumentation/kmemleak.txt+92 -00 replies
3/8Add the memory allocation/freeing hooks for kmemleakinclude/linux/slab.h mm/page_alloc.c mm/slab.c +1 more+48 -40 replies
4/8Modules support for kmemleakkernel/module.c+32 -00 replies
5/8Add kmemleak support for i386arch/i386/kernel/vmlinux.lds.S include/asm-i386/processor.h+16 -00 replies
6/8Add kmemleak support for ARMarch/arm/kernel/vmlinux.lds.S include/asm-arm/processor.h+19 -00 replies
7/8Remove some of the kmemleak false positivesarch/i386/kernel/setup.c drivers/base/platform.c ipc/util.c +4 more+12 -20 replies
8/8Simple testing for kmemleaklib/Kconfig.debug mm/Makefile mm/memleak-test.c+93 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 2.6.17-rc6 0/8] Kernel memory leak detector 0.6

This is a new version (0.6) of the kernel memory leak detector. 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-rc6-kmemleak-0.6.bz2
http://homepage.ntlworld.com/cmarinas/kmemleak/patches-kmemleak-0.6.tar.bz2

What's new in this version:

- fixed SMP locking (hopefully the last)
- added support for padded objects (allocated pointer different from the object one)
- fixed two false positives caused by padding

To do:

- more testing
- test Ingo's suggestion on task stacks scanning
- NUMA support
- (support for ioremap tracking)

Signature · 1 line
Catalin