Re: [patch v2] mm, slub: ensure irqs are enabled for kmemcheck

From: Pekka Enberg
Date: Tue Jul 10 2012 - 15:44:12 EST


On Mon, 9 Jul 2012, David Rientjes wrote:
> kmemcheck_alloc_shadow() requires irqs to be enabled, so wait to disable
> them until after its called for __GFP_WAIT allocations.
>
> This fixes a warning for such allocations:
>
> WARNING: at kernel/lockdep.c:2739 lockdep_trace_alloc+0x14e/0x1c0()
>
> Acked-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
> Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
> Tested-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
> Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx>

Applied, thanks!
--
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/