Skip to content

Kernel memory leak detector 0.3

Catalin Marinas lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Base support for kmemleakinclude/linux/kernel.h include/linux/memleak.h init/main.c +3 more+1131 -30 replies
2/7Some documentation for kmemleakDocumentation/kmemleak.txt+92 -00 replies
3/7Add the memory allocation/freeing hooks for kmemleakdrivers/base/platform.c include/linux/slab.h kernel/module.c +3 more+74 -60 replies
4/7Add kmemleak support for i386arch/i386/kernel/vmlinux.lds.S include/asm-i386/processor.h+16 -00 replies
5/7Add kmemleak support for ARMarch/arm/kernel/vmlinux.lds.S include/asm-arm/processor.h+19 -00 replies
6/7Remove some of the kmemleak false positivesarch/i386/kernel/setup.c ipc/util.c kernel/module.c +1 more+10 -20 replies
7/7Simple testing for kmemleaklib/Kconfig.debug mm/Makefile mm/memleak-test.c+64 -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-rc5 0/7] Kernel memory leak detector 0.3

This is a new version (0.3) of the kernel memory leak detector. See the Documentation/kmemleak.txt file for a more detailed description. The patches are also available from
http://homepage.ntlworld.com/cmarinas/kmemleak/ (to be uploaded shortly).

What's new in this version:

- more clean-up
- initial kernel modules support. It scans the data sections in a module while ignoring the text areas
- minor optimisation to avoid radix-tree lookup when updating the pointer information
- DEBUG_FS selected automatically (until/if a different method of triggering the memory scanning is implemented)

To do:

- better testing
- support for pointer aliases in kernel modules (i.e. container_of usage in modules)
- test Ingo's suggestion on task stacks scanning
- NUMA support

Signature · 1 line
Catalin