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: NCatalin Marinas <catalin.marinas@arm.com> Reported-by: NToralf Förster <toralf.foerster@gmx.de> Acked-by: NPekka Enberg <penberg@cs.helsinki.fi> Acked-by: NDavid Rientjes <rientjes@google.com> Cc: Ted Ts'o <tytso@mit.edu>
Showing
想要评论请 注册 或 登录