diff options
author | Joonsoo Kim <iamjoonsoo.kim@lge.com> | 2013-12-02 17:49:39 +0900 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2014-02-08 12:10:32 +0200 |
commit | 9cef2e2b6589406562bf12a9a633d7d7630340a1 (patch) | |
tree | 1d3d05a81c2a786451be20a97f09ea13ae70b81b /drivers/reset | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
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 <cl@linux.com>
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions