Kernel memory leak detector
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | kmemleak: Add the base supportinclude/ init/ mm/ | +1597 | 0 replies | |
| 2/14 | kmemleak: Add documentation on the memory leak detectorDocumentation/ Documentation/ | +146 | 0 replies | |
| 3/14 | kmemleak: Add the slab memory allocation/freeing hooksinclude/ mm/ | +32 | 0 replies | |
| 4/14 | kmemleak: Add the slob memory allocation/freeing hooksmm/ | +7 | 0 replies | |
| 5/14 | kmemleak: Add the slub memory allocation/freeing hooksmm/ | +4 | 0 replies | |
| 6/14 | kmemleak: Add the vmalloc memory allocation/freeing hooksmm/ | +27 | 0 replies | |
| 7/14 | kmemleak: Add kmemleak_alloc callback from alloc_large_system_hashmm/ | +11 | 0 replies | |
| 8/14 | kmemleak: Add modules supportkernel/ | +56 | 0 replies | |
| 9/14 | x86: Provide _sdata in the vmlinux_*.lds.S filesarch/ arch/ | +2 | 1 reply | |
| 10/14 | arm: Provide _sdata and __bss_stop in the vmlinux.lds.S filearch/ | +2 | 0 replies | |
| 11/14 | kmemleak: Remove some of the kmemleak false positivesdrivers/ fs/ include/ | +18 | 0 replies | |
| 12/14 | kmemleak: Enable the building of the memory leak detectorlib/ mm/ | +23 | 2 replies | |
| 13/14 | kmemleak: Simple testing module for kmemleaklib/ mm/ mm/ | +123 | 0 replies | |
| 14/14 | kmemleak: Add the corresponding MAINTAINERS entryMAINTAINERS | +6 | 0 replies |
Reviews trailers per patch
5 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Pekka Enberg | Matt Mackall | Paul E. McKenney | Ingo Molnar |
|---|---|---|---|---|
| 1/14 | A-b | R-b | ||
| 2/14 | ||||
| 3/14 | R-b | |||
| 4/14 | A-b | A-b | ||
| 5/14 | R-b | |||
| 6/14 | ||||
| 7/14 | ||||
| 8/14 | ||||
| 9/14 | A-b | |||
| 10/14 | ||||
| 11/14 | ||||
| 12/14 | ||||
| 13/14 | ||||
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 00/14] Kernel memory leak detector
Hi,
That's the latest version of kmemleak. It is also available from:
git://linux-arm.org/linux-2.6.git kmemleak
For the past couple of months, kmemleak lived in the linux-next without major incidents. I consider that the implementation is stable for mainline inclusion.
Is there a consensus on whether kmemleak should be merged into the 2.6.31-rc1 kernel?
Are there any other comments on the code?
Thanks.
Catalin Marinas (14):
kmemleak: Add the corresponding MAINTAINERS entry
kmemleak: Simple testing module for kmemleak
kmemleak: Enable the building of the memory leak detector
kmemleak: Remove some of the kmemleak false positives
arm: Provide _sdata and __bss_stop in the vmlinux.lds.S file
x86: Provide _sdata in the vmlinux_*.lds.S files
kmemleak: Add modules support
kmemleak: Add kmemleak_alloc callback from alloc_large_system_hash
kmemleak: Add the vmalloc memory allocation/freeing hooks
kmemleak: Add the slub memory allocation/freeing hooks
kmemleak: Add the slob memory allocation/freeing hooks
kmemleak: Add the slab memory allocation/freeing hooks
kmemleak: Add documentation on the memory leak detector
kmemleak: Add the base support
Documentation/kernel-parameters.txt | 4 Documentation/kmemleak.txt | 142 +++ MAINTAINERS | 6 arch/arm/kernel/vmlinux.lds.S | 2 arch/x86/kernel/vmlinux_32.lds.S | 1 arch/x86/kernel/vmlinux_64.lds.S | 1 drivers/char/vt.c | 7 fs/block_dev.c | 6 include/linux/kmemleak.h | 96 ++ include/linux/percpu.h | 5 include/linux/slab.h | 2 init/main.c | 4 kernel/module.c | 56 + lib/Kconfig.debug | 33 + mm/Makefile | 2 mm/kmemleak-test.c | 111 +++ mm/kmemleak.c | 1498 +++++++++++++++++++++++++++++++++++ mm/page_alloc.c | 11 mm/slab.c | 32 + mm/slob.c | 7 mm/slub.c | 5 mm/vmalloc.c | 30 + 22 files changed, 2054 insertions(+), 7 deletions(-) create mode 100644 Documentation/kmemleak.txt create mode 100644 include/linux/kmemleak.h create mode 100644 mm/kmemleak-test.c create mode 100644 mm/kmemleak.c
Signature · 1 line
Catalin