diff options
author | Li Zefan <lizefan@huawei.com> | 2014-04-03 23:46:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-04 01:20:50 +0200 |
commit | dc9b3f424903f7d6992778b69b1e35d864914ae5 (patch) | |
tree | 83dfae0f1385d00973176b0107b990185c8ff55a /lib/iomap.c | |
parent | kthread: ensure locality of task_struct allocations (diff) | |
download | linux-dc9b3f424903f7d6992778b69b1e35d864914ae5.tar.xz linux-dc9b3f424903f7d6992778b69b1e35d864914ae5.zip |
kmemleak: free internal objects only if there're no leaks to be reported
Currently if you stop kmemleak thread before disabling kmemleak,
kmemleak objects will be freed and so you won't be able to check
previously reported leaks.
With this patch, kmemleak objects won't be freed if there're leaks that
can be reported.
Signed-off-by: Li Zefan <lizefan@huawei.com>
Acked-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 'lib/iomap.c')
0 files changed, 0 insertions, 0 deletions