Skip to content

mm/kmemleak:support for percpu memory leak detect

Chen Jun linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mm/kmemleak: make create_object return voidmm/kmemleak.c+3 -51 reply
2/5mm/kmemleak: skip update_checksum for OBJECT_NO_SCAN objectsmm/kmemleak.c+4 -01 reply
3/5mm/kmemleak: Add support for percpu memory leak detectmm/kmemleak.c+59 -123 replies
4/5mm/kmemleak-test: use %px instead of %p in printmm/kmemleak-test.c+17 -171 reply
5/5mm/kmemleak-test: Add a test case for alloc_percpumm/kmemleak-test.c+3 -00 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchCatalin Marinas
1/5A-b
2/5
3/5
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH -next 0/5] mm/kmemleak:support for percpu memory leak detect

Currently the reporting of the percpu chunks leaking problem are not supported. This patch set introduce this feature.

PATCH 1-2 do some cleanup to current kmemleak. PATCH 3 make percpu memleak works.
PATCH 4-5 add test case for percpu memleak detector.

Following links are some real cases detected by it:
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=71e843295c680898959b22dc877ae3839cc22470
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=667e57da358f61b6966e12e925a69e42d912e8bb

*** BLURB HERE ***

Chen Jun (1):
mm/kmemleak-test: Add a test case for alloc_percpu

Wei Yongjun (4):
mm/kmemleak: make create_object return void mm/kmemleak: skip update_checksum for OBJECT_NO_SCAN objects mm/kmemleak: Add support for percpu memory leak detect mm/kmemleak-test: use %px instead of %p in print

 mm/kmemleak-test.c | 37 ++++++++++++----------
 mm/kmemleak.c      | 79 +++++++++++++++++++++++++++++++++++++---------
 2 files changed, 84 insertions(+), 32 deletions(-)
Signature · 1 line
2.25.0