login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
14
Re: [PATCH] kmemtrace: SLAB hooks.
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Pekka Enberg
Subject:
Re: [PATCH] kmemtrace: SLAB hooks.
Date: Monday, July 14, 2008 - 9:28 am
Hi Eduard-Gabriel, On Sat, 2008-07-12 at 22:04 +0300, Eduard - Gabriel Munteanu wrote:
quoted text
> This adds hooks for the SLAB allocator, to allow tracing with kmemtrace. > > Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> > @@ -28,8 +29,20 @@ extern struct cache_sizes malloc_sizes[]; > void *kmem_cache_alloc(struct kmem_cache *, gfp_t); > void *__kmalloc(size_t size, gfp_t flags); > > +#ifdef CONFIG_KMEMTRACE > +extern void *__kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags); > +#else > +static inline void *__kmem_cache_alloc(struct kmem_cache *cachep, > + gfp_t flags) > +{ > + return __kmem_cache_alloc(cachep, flags);
Looks as if the function calls itself recursively? --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC PATCH 3/5] kmemtrace: SLAB hooks.
, Eduard - Gabriel Mun ...
, (Thu Jul 10, 11:06 am)
Re: [RFC PATCH 3/5] kmemtrace: SLAB hooks.
, Pekka Enberg
, (Fri Jul 11, 1:49 am)
[PATCH] kmemtrace: SLAB hooks.
, Eduard - Gabriel Mun ...
, (Sat Jul 12, 12:04 pm)
Re: [PATCH] kmemtrace: SLAB hooks.
, Pekka Enberg
, (Mon Jul 14, 9:28 am)
Re: [PATCH] kmemtrace: SLAB hooks.
, Christoph Lameter
, (Mon Jul 14, 9:32 am)
Re: [PATCH] kmemtrace: SLAB hooks.
, Eduard - Gabriel Mun ...
, (Mon Jul 14, 10:21 am)
[RESEND PATCH] kmemtrace: SLAB hooks.
, Eduard - Gabriel Mun ...
, (Mon Jul 14, 10:42 am)
Re: [RESEND PATCH] kmemtrace: SLAB hooks.
, Pekka Enberg
, (Mon Jul 14, 11:19 am)
Re: [RESEND PATCH] kmemtrace: SLAB hooks.
, eduard.munteanu
, (Mon Jul 14, 11:37 am)
Re: [RESEND PATCH] kmemtrace: SLAB hooks.
, Pekka Enberg
, (Tue Jul 15, 12:17 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Matthew Garrett
Re: [PATCH] Enable speedstep for sonoma processors.
Mauro Carvalho Chehab
Re: [PATCH 1/2] media: Add timberdale video-in driver
Peter Zijlstra
[PATCH 23/30] netvm: skb processing
Greg Kroah-Hartman
[PATCH 21/28] cgroupfs: create /sys/fs/cgroup to mount cgroupfs on
git
:
Jan Hudec
Re: GIT push to sftp (feature request)
Steffen Prohaska
[PATCH 0/4] core.ignorecase
Johannes Schindelin
Re: Git checkout preserve timestamp?
Linus Torvalds
[PATCH 1/7] Make unpack_trees_options bit flags actual bitfields
Johan Herland
Re: What's cooking in git.git (Oct 2010, #01; Wed, 13)
linux-netdev
:
David Miller
Re: [PATCH 1/3] f_phonet: dev_kfree_skb instead of dev_kfree_skb_any in TX callback
Richard Cochran
Re: [PATCH v3 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
Jan Engelhardt
Re: [PATCH] Fix netfilter xt_time's time_mt()'s use of do_div()
Herbert Xu
Re: [RFC PATCH 00/17] virtual-bus
Jeff Kirsher
Re: [net-next-2.6 PATCH] e1000e: don't inadvertently re-set INTX_DISABLE
git-commits-head
:
Linux Kernel Mailing List
ALSA: hda - Enable beep on Realtek codecs with PCI SSID override
Linux Kernel Mailing List
Use path_put() in a few places instead of {mnt,d}put()
Linux Kernel Mailing List
mv643xx_eth: use sw csum for big packets
Linux Kernel Mailing List
arm: fix HAVE_CLK merge goof
Linux Kernel Mailing List
arm: convert pcm037 platform to use smsc911x
freebsd-current
:
David Wolfskill
"interrupt storm..."; seems associated with an0 NIC
Andriy Gapon
Re: letting glabel recognise a media change
Garrett Cooper
Re: Only display ACPI bootmenu key if ACPI is present
Pyun YongHyeon
CFT: msk(4) Rx checksum offloading support
FreeBSD Tinderbox
[head tinderbox] failure on sparc64/sparc64
Colocation donated by:
Syndicate