Re: [MODSLAB 3/7] A Kmalloc subsystem

From: Andi Kleen
Date: Wed Aug 16 2006 - 03:41:46 EST



> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/