diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-06-26 12:38:25 -0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2009-06-26 12:38:25 -0400 |
commit | e0a2a1601bec01243bcad44414d06f59dae2eedb (patch) | |
tree | bb0f40e3d798c90c36a1f2befb0a0935fa78bdcc /mm | |
parent | a9d9058abab4ac17b79d500506e6c74bd16cecdc (diff) |
kmemleak: Enable task stacks scanning by default
This is to reduce the number of false positives reported.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/kmemleak.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/kmemleak.c b/mm/kmemleak.c index 17096d1b59b2..a38418a95d33 100644 --- a/mm/kmemleak.c +++ b/mm/kmemleak.c | |||
@@ -194,7 +194,7 @@ static unsigned long jiffies_min_age; | |||
194 | /* delay between automatic memory scannings */ | 194 | /* delay between automatic memory scannings */ |
195 | static signed long jiffies_scan_wait; | 195 | static signed long jiffies_scan_wait; |
196 | /* enables or disables the task stacks scanning */ | 196 | /* enables or disables the task stacks scanning */ |
197 | static int kmemleak_stack_scan; | 197 | static int kmemleak_stack_scan = 1; |
198 | /* mutex protecting the memory scanning */ | 198 | /* mutex protecting the memory scanning */ |
199 | static DEFINE_MUTEX(scan_mutex); | 199 | static DEFINE_MUTEX(scan_mutex); |
200 | /* mutex protecting the access to the /sys/kernel/debug/kmemleak file */ | 200 | /* mutex protecting the access to the /sys/kernel/debug/kmemleak file */ |