From: Catalin Marinas Date: Thu, 25 Jun 2009 09:16:11 +0000 (+0100) Subject: kmemleak: Allow the early log buffer to be configurable. X-Git-Tag: v2.6.31-rc2~28^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9d9058abab4ac17b79d500506e6c74bd16cecdc;p=pandora-kernel.git kmemleak: Allow the early log buffer to be configurable. (feature suggested by Sergey Senozhatsky) Kmemleak needs to track all the memory allocations but some of these happen before kmemleak is initialised. These are stored in an internal buffer which may be exceeded in some kernel configurations. This patch adds a configuration option with a default value of 400 and also removes the stack dump when the early log buffer is exceeded. Signed-off-by: Catalin Marinas Acked-by: Sergey Senozhatsky --- Reading git-diff-tree failed