Skip to content
Commit 4698c1f2 authored by Catalin Marinas's avatar Catalin Marinas
Browse files

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: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent bab4a34a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment