On Mon, 15 Oct 2012, David Rientjes wrote: > On Mon, 15 Oct 2012, Christoph Lameter wrote: > > > > Use the always inlined function kmalloc_index to translate > > > sizes to indexes, so that we don't have to have the slab indexes > > > hard coded in two places. > > > > Acked-by: Christoph Lameter <cl@xxxxxxxxx> > > > > Shouldn't this be using get_slab() instead? Right that would even be better. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>