Messages in this thread | | | Date | Wed, 16 Aug 2006 09:43:58 +0200 | From | Andi Kleen <> | Subject | Re: [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/
| |