[PATCH 0/3] kmemleak: fix stale documentation and raise the verbose default
From: Breno Leitao
Date: Thu Sep 17 2026 - 09:49:23 EST
The first two patches fix statements in
Documentation/dev-tools/kmemleak.rst that do not match mm/kmemleak.c.
The third requires one more consecutive unreferenced scan before a
CONFIG_DEBUG_KMEMLEAK_VERBOSE kernel reports a leak on the console, to
avoid the last false positives I am seeing when running
CONFIG_DEBUG_KMEMLEAK_VERBOSE on a daily basis.
Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>
---
Breno Leitao (3):
Documentation: kmemleak: describe the metadata pool, not the early log
Documentation: kmemleak: fix stale statements about scanning
mm: kmemleak: raise min_unref_scans to 3 for verbose auto-scan
Documentation/dev-tools/kmemleak.rst | 24 ++++++++++++++++--------
mm/kmemleak.c | 2 +-
2 files changed, 17 insertions(+), 9 deletions(-)
---
base-commit: 587858367581b9c55c3690f4e63382ad622719d4
change-id: 20260917-b4-kmemleak-doc-1232546f4225
Best regards,
--
Breno Leitao <leitao@xxxxxxxxxx>