Re: [PATCH] Fix crash during slab init

From: SÃren Brinkmann
Date: Wed May 08 2013 - 16:10:26 EST


On Wed, May 08, 2013 at 03:56:28PM -0400, Chris Mason wrote:
> Commit 8a965b3b introduced a regression that caused us to crash early
> during boot. The commit was introducing ordering of slab creation,
> making sure two odd-sized slabs were created after specific powers of
> two sizes.
>
> But, if any of the power of two slabs were created earlier during boot,
> slabs at index 1 or 2 might not get created at all. This patch makes
> sure none of the slabs get skipped.
>
> Tony Lindgren bisected this down to the offending commit, which really
> helped because bisect kept bringing me to almost but not quite this one.
>
> Signed-off-by: Chris Mason <chris.mason@xxxxxxxxxxxx>
> Acked-by: Christoph Lameter <cl@xxxxxxxxx>
> Acked-by: Tony Lindgren <tony@xxxxxxxxxxx>
Acked-by: Soren Brinkmann <soren.brinkmann@xxxxxxxxxx>

Fixes things for me on Zynq, too.

SÃren


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