lkml.org 
[lkml]   [2011]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] SLAB: Record actual last user of freed objects.
From
On Fri, Jun 3, 2011 at 5:05 PM, Christoph Lameter <cl@linux.com> wrote:
> On Thu, 2 Jun 2011, David Rientjes wrote:
>
>> On Thu, 2 Jun 2011, Suleiman Souhlal wrote:
>>
>> > Currently, when using CONFIG_DEBUG_SLAB, we put in kfree() or
>> > kmem_cache_free() as the last user of free objects, which is not
>> > very useful, so change it to the caller of those functions instead.
>> >
>> > Signed-off-by: Suleiman Souhlal <suleiman@google.com>
>>
>> Acked-by: David Rientjes <rientjes@google.com>
>
> Well note that this increases the overhead of a hot code path. But slub
> does the same
>
> Acked-by: Christoph Lameter <cl@linux.com>

Applied, thanks!


\
 
 \ /
  Last update: 2011-06-03 20:09    [W:1.539 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site