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

2012-07-09 Thread Fengguang Wu
On Mon, Jul 09, 2012 at 09:46:33AM -0400, Steven Rostedt wrote: > On Mon, 2012-07-09 at 03:36 -0700, 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

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

2012-07-09 Thread Steven Rostedt
On Mon, 2012-07-09 at 03:36 -0700, 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_al

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

2012-07-09 Thread David Rientjes
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() Cc: sta...@vger.kernel.org [3.1+] Acked-by: Feng