Skip to content
Commit a9d9058a authored by Catalin Marinas's avatar Catalin Marinas
Browse files

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: default avatarCatalin Marinas <catalin.marinas@arm.com>
Acked-by: default avatarSergey Senozhatsky <sergey.senozhatsky@mail.by>
parent 28d0325c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment