lkml.org 
[lkml]   [2006]   [Aug]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 16 Aug 2006 09:43:58 +0200
FromAndi Kleen <>
SubjectRe: [MODSLAB 3/7] A Kmalloc subsystem
> 2. use fls to calculate array position.

I'm not sure that's a good idea. I always had my doubts that power of twos
are a good size distribution. I remember the original slab paper from Bonwick
also discouraged them. With fls you would hard code it.

I think it would be better to keep the more flexible arbitary array so that
people can try to develop new better distributions.

-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 09:47    [from the cache]
©2003-2008