Re: [S+Q2 06/19] slub: Check kasprintf results inkmem_cache_init()

From: David Rientjes
Date: Wed Jul 14 2010 - 18:17:06 EST


On Fri, 9 Jul 2010, Christoph Lameter wrote:

> Small allocations may fail during slab bringup which is fatal. Add a BUG_ON()
> so that we fail immediately rather than failing later during sysfs
> processing.
>
> CC: David Rientjes <rientjes@xxxxxxxxxx>
> Signed-off-by: Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
--
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/