From: Li Zefan Date: Thu, 3 Apr 2014 21:46:26 +0000 (-0700) Subject: kmemleak: free internal objects only if there're no leaks to be reported X-Git-Tag: v3.15-rc1~106^2~232 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc9b3f424903f7d6992778b69b1e35d864914ae5;p=pandora-kernel.git 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 Acked-by: Catalin Marinas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed