lkml.org 
[lkml]   [2020]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH -next 0/5] mm/kmemleak:support for percpu memory leak detect
Date
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(-)

--
2.25.0

\
 
 \ /
  Last update: 2020-09-21 04:03    [W:0.062 / U:1.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site