From: Catalin Marinas Date: Thu, 27 Jan 2011 10:30:26 +0000 (+0000) Subject: kmemleak: Allow kmemleak metadata allocations to fail X-Git-Tag: v2.6.38-rc3~17^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ae4bd1f0bc479984f30061b5e5116060c24a267;p=pandora-kernel.git 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 Reported-by: Toralf Förster Acked-by: Pekka Enberg Acked-by: David Rientjes Cc: Ted Ts'o --- Reading git-diff-tree failed