diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2015-06-24 16:58:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-24 17:49:45 -0700 |
commit | 5f369f374ba4889fe3c17883402db5ee8d254216 (patch) | |
tree | 984086416ed58cc61811fd4f277511b8f720ed1a /mm/swap_cgroup.c | |
parent | e781a9ab4847a81224667f5faab0b2bc5f78908f (diff) | |
download | lwn-5f369f374ba4889fe3c17883402db5ee8d254216.tar.gz lwn-5f369f374ba4889fe3c17883402db5ee8d254216.zip |
mm: kmemleak: do not acquire scan_mutex in kmemleak_do_cleanup()
The kmemleak_do_cleanup() work thread already waits for the kmemleak_scan
thread to finish via kthread_stop(). Waiting in kthread_stop() while
scan_mutex is held may lead to deadlock if kmemleak_scan_thread() also
waits to acquire for scan_mutex.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swap_cgroup.c')
0 files changed, 0 insertions, 0 deletions