commit | 4698c1f2bbe44ce852ef1a6716973c1f5401a4c4 | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@arm.com> | Fri Jun 26 17:38:27 2009 +0100 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Fri Jun 26 17:38:27 2009 +0100 |
tree | 9ca3be2353d3757e2926689351eff2bb09aaf6f7 | |
parent | bab4a34afc301fdb81b6ea0e3098d96fc356e03a [diff] |
kmemleak: Do not trigger a scan when reading the debug/kmemleak file Since there is a kernel thread for automatically scanning the memory, it makes sense for the debug/kmemleak file to only show its findings. This patch also adds support for "echo scan > debug/kmemleak" to trigger an intermediate memory scan and eliminates the kmemleak_mutex (scan_mutex covers all the cases now). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>