Re: [RFC/PATCH 1/2] slub: Break out alloc_kmem_cache_cpus() fromkmem_cache_open()

From: Christoph Lameter
Date: Mon Apr 25 2011 - 15:06:28 EST


On Mon, 25 Apr 2011, Pekka Enberg wrote:

> --- a/mm/slub.c
> +++ b/mm/slub.c
> @@ -2638,11 +2638,7 @@ static int kmem_cache_open(struct kmem_cache *s,
> #endif
> if (!init_kmem_cache_nodes(s))
> goto error;
> -
> - if (alloc_kmem_cache_cpus(s))
> - return 1;
> -
> - free_kmem_cache_nodes(s);

free_kmem_cache_nodes() shows up nowhere now. Memory leak?

--
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/