diff options
| author | Breno Leitao <leitao@debian.org> | 2026-09-17 06:47:36 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-10-12 21:26:25 -0700 |
| commit | b523fc8e6bfae8e8bb05c39e259c4ce4a084e439 (patch) | |
| tree | 584190d65b9fff96d71f847a59a08325878a89bd /tools/perf/scripts/python/syscall-counts.py | |
| parent | 947ab1dd1c2d91c0d390e0008b6bfdc9a9d977b6 (diff) | |
Documentation: kmemleak: fix stale statements about scanning
Three statements in the "false positives/negatives" and "Limitations"
sections have never matched the code:
- task stack scanning is on by default (kmemleak_stack_scan = 1), as
the parameter list earlier in the same document already states;
- MSECS_MIN_AGE has been 5000, not 1000, since the initial commit;
- scanning is done by a periodic kthread. Reading the debugfs file
only lists what the last scan found; kmemleak_open() calls
seq_open() and never scans.
Link: https://lore.kernel.org/20260917-b4-kmemleak-doc-v1-2-84fde6d1f749@debian.org
Fixes: 04f70336c80c ("kmemleak: Add documentation on the memory leak detector")
Fixes: e0a2a1601bec ("kmemleak: Enable task stacks scanning by default")
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Randy Dunlap <rdunlap@infradead.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
