[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BANLkTimy2gLR-fuAgakwi91L=uuV9_4-rw@mail.gmail.com>
Date: Fri, 3 Jun 2011 21:07:18 +0300
From: Pekka Enberg <penberg@...nel.org>
To: Christoph Lameter <cl@...ux.com>
Cc: David Rientjes <rientjes@...gle.com>,
Suleiman Souhlal <ssouhlal@...ebsd.org>, suleiman@...gle.com,
linux-kernel@...r.kernel.org, linux-mm@...ck.org, mpm@...enic.com
Subject: Re: [PATCH] SLAB: Record actual last user of freed objects.
On Fri, Jun 3, 2011 at 5:05 PM, Christoph Lameter <cl@...ux.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@...gle.com>
>>
>> Acked-by: David Rientjes <rientjes@...gle.com>
>
> Well note that this increases the overhead of a hot code path. But slub
> does the same
>
> Acked-by: Christoph Lameter <cl@...ux.com>
Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists