diff options
author | 2011-01-27 10:30:26 +0000 | |
---|---|---|
committer | 2011-01-27 18:32:06 +0000 | |
commit | 6ae4bd1f0bc479984f30061b5e5116060c24a267 (patch) | |
tree | d697010cf38907785a6283a26c02a081f0ea1e96 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | kmemleak: remove memset by using kzalloc (diff) | |
download | wireguard-linux-6ae4bd1f0bc479984f30061b5e5116060c24a267.tar.xz wireguard-linux-6ae4bd1f0bc479984f30061b5e5116060c24a267.zip |
kmemleak: Allow kmemleak metadata allocations to fail
This patch adds __GFP_NORETRY and __GFP_NOMEMALLOC flags to the kmemleak
metadata allocations so that it has a smaller effect on the users of the
kernel slab allocator. Since kmemleak allocations can now fail more
often, this patch also reduces the verbosity by passing __GFP_NOWARN and
not dumping the stack trace when a kmemleak allocation fails.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Toralf Förster <toralf.foerster@gmx.de>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Ted Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions