summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.host
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2009-07-07 10:32:58 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2009-07-08 14:25:13 +0100
commitb87324d082d9d898e3c06b2a07a2b94b2430b8ba (patch)
tree23183d749d3267e3c3636fdc78e10ceb0cd10b1a /scripts/Makefile.host
parent288c857d66a400ca4846dd700eb1c4820d738bb9 (diff)
downloadop-kernel-dev-b87324d082d9d898e3c06b2a07a2b94b2430b8ba.zip
op-kernel-dev-b87324d082d9d898e3c06b2a07a2b94b2430b8ba.tar.gz
kmemleak: Do not acquire scan_mutex in kmemleak_open()
Initially, the scan_mutex was acquired in kmemleak_open() and released in kmemleak_release() (corresponding to /sys/kernel/debug/kmemleak operations). This was causing some lockdep reports when the file was closed from a different task than the one opening it. This patch moves the scan_mutex acquiring in kmemleak_write() or kmemleak_seq_start() with releasing in kmemleak_seq_stop(). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'scripts/Makefile.host')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud