SLAB: Record actual last user of freed objects.
authorSuleiman Souhlal <ssouhlal@FreeBSD.org>
Thu, 2 Jun 2011 07:16:42 +0000 (00:16 -0700)
committerPekka Enberg <penberg@kernel.org>
Fri, 3 Jun 2011 16:33:50 +0000 (19:33 +0300)
commita947eb95ea03199da7408a64baa97fbb613e9b84
treef3a6c46b2c1b19a332a009d0e5ddb7512e21a40f
parentd4d84fef6d0366b585b7de13527a0faeca84d9ce
SLAB: Record actual last user of freed objects.

Currently, when using CONFIG_DEBUG_SLAB, we put in kfree() or
kmem_cache_free() as the last user of free objects, which is not
very useful, so change it to the caller of those functions instead.

Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Suleiman Souhlal <suleiman@google.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slab.c