android_kernel_xiaomi_sm8350/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 [ARM] 3269/1: Add ARMv6 MT_NONSHARED_DEVICE mem_types[] index 2006-01-26 15:21:28 +00:00
asm-arm26
asm-cris
asm-frv
asm-generic
asm-h8300
asm-i386
asm-ia64 [IA64-SGI] Add PROM feature set for device flush list 2006-01-26 13:50:40 -08:00
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 [SPARC]: Add support for *at(), ppoll, and pselect syscalls. 2006-01-19 02:42:49 -08:00
asm-sparc64 [SPARC64]: Implement __raw_read_trylock() 2006-01-23 21:03:56 -08:00
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