Re: [RFC PATCH 1/4] kmemtrace: Core implementation.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pekka Enberg
Date: Thursday, July 17, 2008 - 1:01 am

Hi,

[Adding Randy to cc for the Documentation/ parts and Matt for the core.]

On Thu, Jul 17, 2008 at 3:46 AM, Eduard - Gabriel Munteanu
<eduard.munteanu@linux360.ro> wrote:

A chapter on what kmemtrace is here would probably be helpful.


As I mentioned in private, I would prefer we drop autoconf from the
userspace tool, but maybe that's just my personal preference.


I think you're supposed to document the actual filesystem in
Documentation/ABI as well.


I don't think this is used anywhere so why not drop it?


I still think kernel vs. cache is confusing because both allocations
*are* for the kernel. So perhaps kmalloc vs. cache?


So why don't we have the ABI version embedded here like blktrace has
so that user-space can check if the format matches its expectations?
That should be future-proof as well: as long as y ou keep the existing
fields where they're at now, you can always add new fields at the end
of the struct.


Why do we disable local irqs here? (Perhaps a comment is in order.)


(same here)

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 0/4] kmemtrace RFC (resubmit 1), Eduard - Gabriel Mun ..., (Wed Jul 16, 5:46 pm)
[RFC PATCH 1/4] kmemtrace: Core implementation., Eduard - Gabriel Mun ..., (Wed Jul 16, 5:46 pm)
[RFC PATCH 2/4] kmemtrace: SLAB hooks., Eduard - Gabriel Mun ..., (Wed Jul 16, 5:46 pm)
[RFC PATCH 3/4] kmemtrace: SLUB hooks., Eduard - Gabriel Mun ..., (Wed Jul 16, 5:46 pm)
[RFC PATCH 4/4] kmemtrace: SLOB hooks., Eduard - Gabriel Mun ..., (Wed Jul 16, 5:46 pm)
Re: [RFC PATCH 2/4] kmemtrace: SLAB hooks., Pekka Enberg, (Thu Jul 17, 12:38 am)
Re: [RFC PATCH 4/4] kmemtrace: SLOB hooks., Pekka Enberg, (Thu Jul 17, 12:43 am)
Re: [RFC PATCH 3/4] kmemtrace: SLUB hooks., Pekka Enberg, (Thu Jul 17, 12:46 am)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Pekka Enberg, (Thu Jul 17, 1:01 am)
Re: [RFC PATCH 4/4] kmemtrace: SLOB hooks., Matt Mackall, (Thu Jul 17, 8:46 am)
Re: [RFC PATCH 3/4] kmemtrace: SLUB hooks., Eduard - Gabriel Mun ..., (Thu Jul 17, 11:06 am)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Eduard - Gabriel Mun ..., (Thu Jul 17, 11:32 am)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Randy Dunlap, (Thu Jul 17, 2:34 pm)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Eduard - Gabriel Mun ..., (Thu Jul 17, 4:49 pm)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Pekka J Enberg, (Fri Jul 18, 1:48 am)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Eduard - Gabriel Mun ..., (Fri Jul 18, 3:13 am)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Pekka Enberg, (Fri Jul 18, 7:38 am)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Eduard - Gabriel Mun ..., (Fri Jul 18, 12:40 pm)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Matt Mackall, (Fri Jul 18, 1:07 pm)