From: Christoph Lameter Subject: slub: pack objects denser Since we now have more orders available use a denser packing. Increase slab order if more than 1/16th of a slab would be wasted. Signed-off-by: Christoph Lameter --- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/mm/slub.c =================================================================== --- linux-2.6.orig/mm/slub.c 2008-03-31 16:32:26.789169099 -0700 +++ linux-2.6/mm/slub.c 2008-03-31 16:33:05.048415955 -0700 @@ -1853,7 +1853,7 @@ static inline int calculate_order(int si if (!min_objects) min_objects = 4 * fls(nr_cpu_ids); while (min_objects > 1) { - fraction = 8; + fraction = 16; while (fraction >= 4) { order = slab_order(size, min_objects, slub_max_order, fraction);