summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEzequiel Garcia <elezegarcia@gmail.com>2012-10-19 16:33:11 +0400
committerPekka Enberg <penberg@kernel.org>2012-10-31 10:51:35 +0400
commitfe74fe2bf293d061826f0d7afc2ca8456bdbb40e (patch)
tree6350a32c300e3ff74b4ff52355f98a751f6a2442 /include
parent999d8795d438d396936811b185428d70b7b7de6d (diff)
downloadlinux-fe74fe2bf293d061826f0d7afc2ca8456bdbb40e.tar.xz
mm/slob: Use object_size field in kmem_cache_size()
Fields object_size and size are not the same: the latter might include slab metadata. Return object_size field in kmem_cache_size(). Also, improve trace accuracy by correctly tracing reported size. Cc: Pekka Enberg <penberg@kernel.org> Cc: Matt Mackall <mpm@selenic.com> Acked-by: Christoph Lameter <cl@linux.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions