From: Catalin Marinas Date: Fri, 26 Jun 2009 16:38:27 +0000 (+0100) Subject: kmemleak: Do not trigger a scan when reading the debug/kmemleak file X-Git-Tag: v2.6.31-rc2~28^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4698c1f2bbe44ce852ef1a6716973c1f5401a4c4;p=pandora-kernel.git 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 --- Reading git-diff-tree failed