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

kmemleak: Reduce the false positives by checking for modified objects



If an object was modified since it was previously suspected as leak, do
not report it. The modification check is done by calculating the
checksum (CRC32) of such object.

Several false positives are caused by objects being removed from linked
lists (e.g. allocation pools) and temporarily breaking the reference
chain since kmemleak runs concurrently with such list mutation
primitives.

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