From: Zach Brown <zab@zabbo.net>
To: Christoph Lameter <cl@linux.com>
Cc: Liu Bo <bo.li.liu@oracle.com>,
linux-mm@kvack.org, linux-btrfs@vger.kernel.org,
linux-kernel@vger.kernel.org, Pekka Enberg <penberg@kernel.org>
Subject: Re: [PATCH] mm/slab: add a leak decoder callback
Date: Tue, 15 Jan 2013 09:01:05 -0800 [thread overview]
Message-ID: <20130115170105.GP12288@lenny.home.zabbo.net> (raw)
In-Reply-To: <0000013c3f0c8af2-361e64b5-f822-4a93-a67e-b2902bb336fc-000000@email.amazonses.com>
> The merge processing occurs during kmem_cache_create and you are setting
> up the decoder field afterwards! Wont work.
In the thread I suggested providing the callback at destruction:
http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg21130.html
I liked that it limits accesibility of the callback to the only path
that uses it.
- z
--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2013-01-15 17:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-14 6:03 Liu Bo
2013-01-15 16:30 ` Christoph Lameter
2013-01-15 17:01 ` Zach Brown [this message]
2013-01-16 1:02 ` Liu Bo
2013-01-16 0:59 ` Liu Bo
2013-01-19 9:11 ` 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=20130115170105.GP12288@lenny.home.zabbo.net \
--to=zab@zabbo.net \
--cc=bo.li.liu@oracle.com \
--cc=cl@linux.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=penberg@kernel.org \
/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