summaryrefslogtreecommitdiffstats
path: root/mm/slab.h
diff options
context:
space:
mode:
authorGu Zheng <guz.fnst@cn.fujitsu.com>2014-08-06 16:04:51 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-06 18:01:15 -0700
commit4307c14f3c77bc0cb0facfc9c67c7872505aaedf (patch)
treef45db34edc9d30000590d05f530a7a5ea785ae84 /mm/slab.h
parent0aa9a13d80bae1bb24956f6e3e2662b7242e0b41 (diff)
downloadlinux-4307c14f3c77bc0cb0facfc9c67c7872505aaedf.tar.bz2
slab: fix the alias count (via sysfs) of slab cache
We mark some slab caches (e.g. kmem_cache_node) as unmergeable by setting refcount to -1, and their alias should be 0, not refcount-1, so correct it here. Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Acked-by: David Rientjes <rientjes@google.com> Cc: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.h')
0 files changed, 0 insertions, 0 deletions