lkml.org 
[lkml]   [2006]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [MODSLAB 0/7] A modular slab allocator V1

> > 3. New slabs that are created can be merged into the kmalloc array
> > if it is detected that they match. This decreases the number of caches
> > and benefits cache use.
>
> While this will be good for reducing fragmentation,

Will it? The theory behind a zone allocator like slab is that objects of the
same type have similar livetimes. Fragmentation mostly happens when objects
have very different live times. If you mix objects of different types
into the same slab then you might get more fragmentation.
kmalloc already has that problem but it probably shouldn't be added
to other slabs too.

-Andi

-
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: 2006-08-16 10:35    [W:0.137 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site