Re: [PATCH] Catch kmalloc() failure in kmem_cache_init()

From: Pekka J Enberg
Date: Mon Apr 02 2007 - 06:23:37 EST


On Mon, 2 Apr 2007, Johannes Weiner wrote:
> This patch makes kmem_cache_init() trigger a BUG when the calls to
> kmalloc() fail. Altough the kernel would not boot anyway on failure,
> this adds some clarity to the code.

Indeed. This keeps popping up again and again, so

Acked-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
-
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/