summaryrefslogtreecommitdiffstats
path: root/mm/mprotect.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2009-06-26 18:38:29 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2009-06-26 18:38:29 +0200
commitacf4968ec9dea49387ca8b3d36dfaa0850bdb2d5 (patch)
tree5854dfdd96744a404a6222b9fc42aa54f9295313 /mm/mprotect.c
parentkmemleak: Do not trigger a scan when reading the debug/kmemleak file (diff)
downloadlinux-acf4968ec9dea49387ca8b3d36dfaa0850bdb2d5.tar.xz
linux-acf4968ec9dea49387ca8b3d36dfaa0850bdb2d5.zip
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: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions