[PATCH 0/2] mm: kmemleak: Usability improvements

From: Catalin Marinas
Date: Thu Feb 06 2025 - 06:45:57 EST


Following a recent false positive tracking that led to commit
488b5b9eca68 ("mm: kmemleak: fix upper boundary check for physical
address objects"), I needed kmemleak to give me more debug information
about the objects it is tracking. This lead to the first patch of this
series. The second patch changes the kmemleak-test module to show the
raw pointers for debugging purposes.

Thanks.

Catalin Marinas (2):
mm: kmemleak: Add support for dumping physical and __percpu object
info
samples: kmemleak: Print the raw pointers for debugging purposes

mm/kmemleak.c | 54 +++++++++++++++++++++++---------
samples/kmemleak/kmemleak-test.c | 36 ++++++++++-----------
2 files changed, 58 insertions(+), 32 deletions(-)