lkml.org 
[lkml]   [2009]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: upcoming kerneloops.org item: get_page_from_freelist
From
On Wed, Jun 24, 2009 at 9:30 PM, Andrew Morton<akpm@linux-foundation.org> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-06-24 20:47    [W:0.155 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site