]> err.no Git - linux-2.6/commit
[PATCH] slab: clean up leak tracking ifdefs a little bit
authorChristoph Hellwig <hch@lst.de>
Wed, 4 Oct 2006 09:15:25 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:13 +0000 (07:55 -0700)
commit1d2c8eea698514cfaa53fc991b960791d09508e1
treee6e2b2d491e7e7256862fcc493b81815cc966312
parent88ca3b94e82e763ef90c8e57cacd51a3c143ea62
[PATCH] slab: clean up leak tracking ifdefs a little bit

- rename ____kmalloc to kmalloc_track_caller so that people have a chance
  to guess what it does just from it's name.  Add a comment describing it
  for those who don't.  Also move it after kmalloc in slab.h so people get
  less confused when they are just looking for kmalloc - move things around
  in slab.c a little to reduce the ifdef mess.

[penberg@cs.helsinki.fi: Fix up reversed #ifdef]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Christoph Lameter <clameter@engr.sgi.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/slab.h
mm/slab.c
mm/util.c
net/core/skbuff.c