lkml.org 
[lkml]   [2011]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] SLAB: Record actual last user of freed objects.
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>



\
 
 \ /
  Last update: 2011-06-03 16:07    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site