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

kmemleak: Slightly change the policy on newly allocated objects



Newly allocated objects are more likely to be reported as false
positives. Kmemleak ignores the reporting of objects younger than 5
seconds. However, this age was calculated after the memory scanning
completed which usually takes longer than 5 seconds. This patch
make the minimum object age calculation in relation to the start of the
memory scanning.

Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 4698c1f2
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