summaryrefslogtreecommitdiff
path: root/Documentation/kmemleak.txt
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2009-06-26 17:38:25 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2009-06-26 17:38:25 +0100
commite0a2a1601bec01243bcad44414d06f59dae2eedb (patch)
treebb0f40e3d798c90c36a1f2befb0a0935fa78bdcc /Documentation/kmemleak.txt
parenta9d9058abab4ac17b79d500506e6c74bd16cecdc (diff)
downloadlinux-3.10-e0a2a1601bec01243bcad44414d06f59dae2eedb.tar.gz
linux-3.10-e0a2a1601bec01243bcad44414d06f59dae2eedb.tar.bz2
linux-3.10-e0a2a1601bec01243bcad44414d06f59dae2eedb.zip
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 'Documentation/kmemleak.txt')
-rw-r--r--Documentation/kmemleak.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt
index f655308064d..9426e94f291 100644
--- a/Documentation/kmemleak.txt
+++ b/Documentation/kmemleak.txt
@@ -31,12 +31,12 @@ Memory scanning parameters can be modified at run-time by writing to the
/sys/kernel/debug/kmemleak file. The following parameters are supported:
off - disable kmemleak (irreversible)
- stack=on - enable the task stacks scanning
+ stack=on - enable the task stacks scanning (default)
stack=off - disable the tasks stacks scanning
- scan=on - start the automatic memory scanning thread
+ scan=on - start the automatic memory scanning thread (default)
scan=off - stop the automatic memory scanning thread
- scan=<secs> - set the automatic memory scanning period in seconds (0
- to disable it)
+ scan=<secs> - set the automatic memory scanning period in seconds
+ (default 600, 0 to stop the automatic scanning)
Kmemleak can also be disabled at boot-time by passing "kmemleak=off" on
the kernel command line.