Re: [PATCH 2/3] slab,slub: don't enable interrupts during early boot

From: Pekka Enberg
Date: Fri Jun 12 2009 - 11:44:32 EST


On Fri, Jun 12, 2009 at 6:41 PM, Pekka J Enberg<penberg@xxxxxxxxxxxxxx> wrote:
> @@ -3237,6 +3251,10 @@ retry:
>        }
>
>        if (!obj) {
> +               /* Lets avoid crashing in early boot code. */
> +               if (WARN_ON_ONCE((local_flags & ~slab_gfp_mask) != 0))
> +                       local_flags &= slab_gfp_mask;
> +

Argh! This hunk should not be here.

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