Re: [PATCH v2 1/5] slab: factor out calculate nr objects in cache_estimate

2013-10-17 Thread Christoph Lameter
On Thu, 17 Oct 2013, Joonsoo Kim wrote: > 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: C

[PATCH v2 1/5] slab: factor out calculate nr objects in cache_estimate

2013-10-16 Thread Joonsoo Kim
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. Signed-off-by: Joonsoo Kim diff --git a/mm/slab.c b/mm/sla