On Thu, 2009-04-30 at 18:10 +0400, Anton Vorontsov wrote: > > @@ -2194,16 +2197,16 @@ static void *kmem_cache_dyn_array_alloc( > > * never get freed by definition so we can do it rather > > * simply. > > */ > > - if (!nextmem) { > > - nextmem = alloc_pages_exact(size, GFP_KERNEL); > > - if (!nextmem) > > - return NULL; > > + if (size > nextleft) { > > + nextmem = alloc_pages_exact(size, GFP_KERNEL); > > + if (!nextmem) > > + return NULL; > > Cosmetic issue: spaces instead of tabs are used on these > three lines. I fixed that up. Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html