commit | 216c04b0d848fa3db04fc240d9cdc1d2cc1e9574 | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@arm.com> | Wed Jun 17 18:29:02 2009 +0100 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Wed Jun 17 18:29:02 2009 +0100 |
tree | 9c560c0f70ee43accca93a47ce64313d67e73b2a | |
parent | 65795efbd380a832ae508b04dba8f8e53f0b84d9 [diff] |
kmemleak: Only use GFP_KERNEL|GFP_ATOMIC for the internal allocations Kmemleak allocates memory for pointer tracking and it tries to avoid using GFP_ATOMIC if the caller doesn't require it. However other gfp flags may be passed by the caller which aren't required by kmemleak. This patch filters the gfp flags so that only GFP_KERNEL | GFP_ATOMIC are used. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>