From: Joonsoo Kim Date: Mon, 2 Dec 2013 08:49:39 +0000 (+0900) Subject: slab: factor out calculate nr objects in cache_estimate X-Git-Tag: v3.15-rc1~3^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cef2e2b6589406562bf12a9a633d7d7630340a1;p=pandora-kernel.git slab: factor out calculate nr objects in cache_estimate This logic is not simple to understand so that making separate function helping readability. Additionally, we can use this change in the following patch which implement for freelist to have another sized index in according to nr objects. Acked-by: Christoph Lameter Signed-off-by: Joonsoo Kim Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed