lkml.org 
[lkml]   [2011]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kmemleak: Reduce verbosity when memory allocation fails
On 1/11/11 11:34 PM, David Rientjes wrote:
> On Tue, 11 Jan 2011, Catalin Marinas wrote:
>
>> kmemleak: Allow kmemleak metadata allocations to fail
>>
>> From: Catalin Marinas<catalin.marinas@arm.com>
>>
>> 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>
>> Cc: Pekka Enberg<penberg@cs.helsinki.fi>
>> Cc: David Rientjes<rientjes@google.com>
>> Cc: Ted Ts'o<tytso@mit.edu>
>
> Acked-by: David Rientjes<rientjes@google.com>

Acked-by: Pekka Enberg <penberg@kernel.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-01-12 08:01    [W:0.038 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site