From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx189.postini.com [74.125.245.189]) by kanga.kvack.org (Postfix) with SMTP id 1AA8F6B0071 for ; Tue, 10 Jul 2012 15:44:17 -0400 (EDT) Received: by lbjn8 with SMTP id n8so889026lbj.14 for ; Tue, 10 Jul 2012 12:44:15 -0700 (PDT) Date: Tue, 10 Jul 2012 22:44:03 +0300 (EEST) From: Pekka Enberg Subject: Re: [patch v2] mm, slub: ensure irqs are enabled for kmemcheck In-Reply-To: Message-ID: References: <20120708040009.GA8363@localhost> <1341841593.14828.9.camel@gandalf.stny.rr.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: Steven Rostedt , JoonSoo Kim , Fengguang Wu , Vegard Nossum , Christoph Lameter , Rus , Ben Hutchings , stable@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org 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 > Acked-by: Steven Rostedt > Tested-by: Fengguang Wu > Signed-off-by: David Rientjes 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: email@kvack.org