linux/include
Pekka Enberg 7fd6b14130 [PATCH] slab: fix kzalloc and kstrdup caller report for CONFIG_DEBUG_SLAB
Fix kzalloc() and kstrdup() caller report for CONFIG_DEBUG_SLAB.  We must
pass the caller to __cache_alloc() instead of directly doing
__builtin_return_address(0) there; otherwise kzalloc() and kstrdup() are
reported as the allocation site instead of the real one.

Thanks to Valdis Kletnieks for reporting the problem and Steven Rostedt for
the original idea.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-01 08:53:18 -08:00
..
acpi
asm-alpha [PATCH] alpha: dma-mapping.h: add "struct scatterlist;" 2006-02-01 08:53:11 -08:00
asm-arm
asm-arm26
asm-cris
asm-frv
asm-generic
asm-h8300
asm-i386
asm-ia64
asm-m32r
asm-m68k
asm-m68knommu
asm-mips
asm-parisc
asm-powerpc [PATCH] powerpc: enable irq's for platform functions. 2006-02-01 08:53:10 -08:00
asm-ppc
asm-s390
asm-sh
asm-sh64
asm-sparc
asm-sparc64
asm-um
asm-v850
asm-x86_64 [PATCH] prototypes for *at functions & typo fix 2006-02-01 08:53:09 -08:00
asm-xtensa
keys
linux [PATCH] slab: fix kzalloc and kstrdup caller report for CONFIG_DEBUG_SLAB 2006-02-01 08:53:18 -08:00
math-emu
media
mtd
net [IPV4]: Always set fl.proto in ip_route_newports 2006-01-31 17:35:35 -08:00
pcmcia
rdma
rxrpc
scsi Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6 2006-01-31 13:12:41 -08:00
sound
video