]> git.baikalelectronics.ru Git - kernel.git/commit
mm, slob: Add support for kmalloc_track_caller()
authorEzequiel Garcia <elezegarcia@gmail.com>
Sat, 8 Sep 2012 20:47:53 +0000 (17:47 -0300)
committerPekka Enberg <penberg@kernel.org>
Tue, 25 Sep 2012 07:14:18 +0000 (10:14 +0300)
commit9ae19dc4ac0572b8c9637db673b75b2783c29372
tree6a46da5eb60a8bd2bf6bdaf5804e40367b91048f
parent174e2514cdb350ff19d8171b20958912d3f93aea
mm, slob: Add support for kmalloc_track_caller()

Currently slob falls back to regular kmalloc for this case.
With this patch kmalloc_track_caller() is correctly implemented,
thus tracing the specified caller.

This is important to trace accurately allocations performed by
krealloc, kstrdup, kmemdup, etc.

Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
include/linux/slab.h
mm/slob.c