From: Christoph Lameter <cl@linux.com>
To: David Rientjes <rientjes@google.com>
Cc: Suleiman Souhlal <ssouhlal@freebsd.org>,
penberg@kernel.org, suleiman@google.com,
linux-kernel@vger.kernel.org, linux-mm@kvack.org,
mpm@selenic.com
Subject: Re: [PATCH] SLAB: Record actual last user of freed objects.
Date: Fri, 3 Jun 2011 09:05:06 -0500 (CDT) [thread overview]
Message-ID: <alpine.DEB.2.00.1106030904320.27151@router.home> (raw)
In-Reply-To: <alpine.DEB.2.00.1106021011510.18350@chino.kir.corp.google.com>
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>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2011-06-03 14:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-02 7:16 Suleiman Souhlal
2011-06-02 17:12 ` David Rientjes
2011-06-03 14:05 ` Christoph Lameter [this message]
2011-06-03 18:07 ` Pekka Enberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.00.1106030904320.27151@router.home \
--to=cl@linux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mpm@selenic.com \
--cc=penberg@kernel.org \
--cc=rientjes@google.com \
--cc=ssouhlal@freebsd.org \
--cc=suleiman@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox