From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from toip3.srvr.bell.ca ([209.226.175.86]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20080711153846.YMNB1527.tomts22-srv.bellnexxia.net@toip3.srvr.bell.ca> for ; Fri, 11 Jul 2008 11:38:46 -0400 Date: Fri, 11 Jul 2008 11:38:41 -0400 From: Mathieu Desnoyers Subject: Re: [RFC PATCH 0/5] kmemtrace RFC patch series Message-ID: <20080711153841.GA14359@Krystal> References: <20080710210543.1945415d@linux360.ro> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_Krystal-15559-1215790721-0001-2" Content-Disposition: inline In-Reply-To: <20080710210543.1945415d@linux360.ro> Sender: owner-linux-mm@kvack.org Return-Path: To: Eduard - Gabriel Munteanu Cc: penberg@cs.helsinki.fi, linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_Krystal-15559-1215790721-0001-2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Eduard, Did you have a look at the new tracepoints infrastructure ? I think it could simplify your patchset a _lot_ ! Basically, it removes the format string from markers and allows to pass complex structure pointers as arguments. It aims at simplifying the life of in-kernel tracers which would want to use the facility. Turning a marker implementation to tracepoints is really straightforward, for an example see : http://lkml.org/lkml/2008/7/9/569 For the tracepoints patchset : http://lkml.org/lkml/2008/7/9/199 I think much of include/linux/kmemtrace.h, which is really just wrappers around marker code, could then go away. Regards, Mathieu * Eduard - Gabriel Munteanu (eduard.munteanu@linux360.ro) wrote: > Hi everybody, >=20 > I'd like to hear your opinion regarding kmemtrace and SL*B hooks. >=20 > This is just a RFC, it's not intended to be merged yet. The userspace > app is not included. >=20 > BTW, there may be some whitespace errors, but disregard them for now, > they will be fixed. >=20 > Cheers, > Eduard >=20 >=20 > Eduard - Gabriel Munteanu (5): > kmemtrace: Core implementation. > Add new GFP flag __GFP_NOTRACE. > kmemtrace: SLAB hooks. > kmemtrace: SLUB hooks. > kmemtrace: SLOB hooks. >=20 > MAINTAINERS | 6 ++ > include/linux/gfp.h | 1 + > include/linux/kmemtrace.h | 110 +++++++++++++++++++++++ > include/linux/slab_def.h | 16 +++- > include/linux/slub_def.h | 9 ++- > init/main.c | 2 + > lib/Kconfig.debug | 4 + > mm/Makefile | 2 +- > mm/kmemtrace.c | 213 +++++++++++++++++++++++++++++++++++++++= ++++++ > mm/slab.c | 35 ++++++-- > mm/slob.c | 37 +++++++-- > mm/slub.c | 49 +++++++++-- > 12 files changed, 460 insertions(+), 24 deletions(-) > create mode 100644 include/linux/kmemtrace.h > create mode 100644 mm/kmemtrace.c --=20 Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 --=_Krystal-15559-1215790721-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFId36BPyWo/juummgRAoD1AJ4sTEgnIRULNBTduzj4YbFe7PgvLwCgnKwo UZqI13YXocUbn1jqGFVqBPU= =1u5x -----END PGP SIGNATURE----- --=_Krystal-15559-1215790721-0001-2-- -- 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: email@kvack.org