lkml.org 
[lkml]   [2015]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Documentation: correct MSECS_MIN_AGE default value
Date
MSECS_MIN_AGE is actually 5000 in kmemleak.c, corret it in doc.

Signed-off-by: Wang Kai <morgan.wang@huawei.com>
---
Documentation/kmemleak.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt
index 45e777f..df0be72cd 100644
--- a/Documentation/kmemleak.txt
+++ b/Documentation/kmemleak.txt
@@ -173,7 +173,7 @@ longer be scanned.

Some of the reported leaks are only transient, especially on SMP
systems, because of pointers temporarily stored in CPU registers or
-stacks. Kmemleak defines MSECS_MIN_AGE (defaulting to 1000) representing
+stacks. Kmemleak defines MSECS_MIN_AGE (defaulting to 5000) representing
the minimum age of an object to be reported as a memory leak.

Limitations and Drawbacks
--
1.7.9.5


\
 
 \ /
  Last update: 2015-04-15 14:21    [W:0.039 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site