diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-06-17 13:29:02 -0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2009-06-17 13:29:02 -0400 |
commit | 216c04b0d848fa3db04fc240d9cdc1d2cc1e9574 (patch) | |
tree | 9c560c0f70ee43accca93a47ce64313d67e73b2a /kernel/pid.c | |
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>
Diffstat (limited to 'kernel/pid.c')
0 files changed, 0 insertions, 0 deletions