2012/10/19 Christoph Lameter <cl@xxxxxxxxx>: > @@ -2270,7 +2245,16 @@ static int __init_refok setup_cpu_cache( > > if (slab_state == DOWN) { > /* > - * Note: the first kmem_cache_create must create the cache > + * Note: Creation of first cache (kmem_cache). > + * The setup_list3s is taken care > + * of by the caller of __kmem_cache_create > + */ > + cachep->array[smp_processor_id()] = &initarray_generic.cache; > + slab_state = PARTIAL; > + } else > + if (slab_state == PARTIAL) { > + /* > + * Note: the second kmem_cache_create must create the cache > * that's used by kmalloc(24), otherwise the creation of > * further caches will BUG(). > */ Minor nitpick is here } else if (slab_state = PARTIAL) { ==> else if (slab_state == PARTIAL) -- 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>