mbox series

[0/2] mm: kmemleak: Usability improvements

Message ID 20250206114537.2597764-1-catalin.marinas@arm.com (mailing list archive)
Headers show
Series mm: kmemleak: Usability improvements | expand

Message

Catalin Marinas Feb. 6, 2025, 11:45 a.m. UTC
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(-)