Skip to content

RFC Kernel memory leak detector

Catalin Marinas lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 33 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Base support for kmemleakinclude/linux/kernel.h include/linux/memleak.h init/main.c +3 more+632 -320 replies
2/6Some documentation for kmemleakDocumentation/kmemleak.txt+94 -00 replies
3/6Add the memory allocation/freeing hooks for kmemleakinclude/linux/slab.h mm/page_alloc.c mm/slab.c +1 more+51 -61 reply
4/6Add kmemleak support for i386arch/i386/kernel/vmlinux.lds.S include/asm-i386/processor.h+16 -03 replies
5/6Add kmemleak support for ARMarch/arm/kernel/vmlinux.lds.S include/asm-arm/processor.h+19 -01 reply
6/6Remove some of the kmemleak false positivesipc/util.c kernel/params.c+21 -18 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 2.6.17-rc4 0/6] Kernel memory leak detector

This is the first attempt at a kernel memory leak detector based on the tracing garbage collection technique (similar to Valgrind's "memcheck --leak-check" tool). See the Documentation/kmemleak.txt file for a more detailed description.

The implementation is not complete and the code might contain bugs. Only the ARM and i386 architectures are supported at the moment.

Let me know what you think. Thanks.

Signature · 1 line
Catalin