lkml.org 
[lkml]   [2008]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] SLUB - define OO_ macro instead of hardcoded numbers
[Christoph Lameter - Wed, Oct 22, 2008 at 10:47:09AM -0700]
> On Wed, 22 Oct 2008, Cyrill Gorcunov wrote:
>
>> Christoph how about this one?
>
> Ok. Looks a bit better but we still have two maxes here
>
> s->max which refers to the maximum number of objects per slab page for a
> specific slab cache (depends on the runtime configuration). OO_MAX_OBJS
> refers to the maximum number of objects per slab page that any slab cache
> can be configured for which is a compile time limit.
>
> Maybe this is okay, Pekka?
>

If name is not that good -- maybe OO_OBJS_PER_PAGE? :)

- Cyrill -


\
 
 \ /
  Last update: 2008-10-22 19:59    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site