From: Gu Zheng Date: Wed, 6 Aug 2014 23:04:51 +0000 (-0700) Subject: slab: fix the alias count (via sysfs) of slab cache X-Git-Tag: omap-for-v3.17/fixes-against-rc2~137^2~184 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4307c14f3c77bc0cb0facfc9c67c7872505aaedf;p=pandora-kernel.git 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 Acked-by: David Rientjes Cc: Christoph Lameter Cc: Pekka Enberg Cc: Joonsoo Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed