Re: upcoming kerneloops.org item: get_page_from_freelist

From: Pekka Enberg
Date: Wed Jun 24 2009 - 14:43:25 EST


On Wed, Jun 24, 2009 at 9:30 PM, Andrew Morton<akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> What's the expected value of s->min in allocate_slab()?  In what
> situations would it be >0?

When object size in the cache doesn't fit on a single page. See the
get_order() at the end of calculate_sizes() for details.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/