Thread (13 messages) 13 messages, 6 authors, 2012-07-10

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

From: Pekka Enberg <penberg@kernel.org>
Date: 2012-07-10 19:44:18
Also in: lkml, stable

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 <redacted>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Tested-by: Fengguang Wu <redacted>
Signed-off-by: David Rientjes <rientjes@google.com>
Applied, thanks!

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help