Re: [PATCH] SLAB: Record actual last user of freed objects.
From: Pekka Enberg
Date: Fri Jun 03 2011 - 14:07:27 EST
On Fri, Jun 3, 2011 at 5:05 PM, Christoph Lameter <cl@xxxxxxxxx> 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@xxxxxxxxxx>
>>
>> Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
>
> Well note that this increases the overhead of a hot code path. But slub
> does the same
>
> Acked-by: Christoph Lameter <cl@xxxxxxxxx>
Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/