On Mon, 2 Dec 2013, Joonsoo Kim wrote: > Now, the size of the freelist for the slab management diminish, > so that the on-slab management structure can waste large space > if the object of the slab is large. > > Consider a 128 byte sized slab. If on-slab is used, 31 objects can be > in the slab. The size of the freelist for this case would be 31 bytes > so that 97 bytes, that is, more than 75% of object size, are wasted. > > In a 64 byte sized slab case, no space is wasted if we use on-slab. > So set off-slab determining constraint to 128 bytes. > > Acked-by: Christoph Lameter <c...@linux.com> > Signed-off-by: Joonsoo Kim <iamjoonsoo....@lge.com>
Acked-by: David Rientjes <rient...@google.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/