From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751873Ab1AGXXv (ORCPT ); Fri, 7 Jan 2011 18:23:51 -0500 Received: from thunk.org ([69.25.196.29]:55202 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751470Ab1AGXXu (ORCPT ); Fri, 7 Jan 2011 18:23:50 -0500 Date: Fri, 7 Jan 2011 18:23:39 -0500 From: "Ted Ts'o" To: David Rientjes Cc: Toralf =?iso-8859-1?Q?F=F6rster?= , Catalin Marinas , linux-kernel@vger.kernel.org Subject: Re: mke2fs: page allocation failure w/ kernel 2.6.37 Message-ID: <20110107232339.GS21922@thunk.org> Mail-Followup-To: Ted Ts'o , David Rientjes , Toralf =?iso-8859-1?Q?F=F6rster?= , Catalin Marinas , linux-kernel@vger.kernel.org References: <201101052237.36735.toralf.foerster@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 07, 2011 at 02:45:30PM -0800, David Rientjes wrote: > On Wed, 5 Jan 2011, Toralf Förster wrote: > > > Hello, > > > > I got this in /var/log/messages today (created a ext2 partition at an external USB drive, worked fine) : > > > > Yeah, this failure is from the kmemleak stack which simply means that > debugging tool will be disabled rather than any disruption to the > workflow. > > I'm curious why kmemleak is masking with GFP_KERNEL and GFP_ATOMIC and not > allowing users to pass __GFP_NOWARN to suppress this type of failure, > especially since the stack trace is already emitted by kmemleak when it is > stopped. Catalin? Indeed, is there a reason why the kmemleak code is so noisy? And can it display a more obvious message about what is going on? It took me a while to figure out why it was unhappy, and whether there it was a fault of the code it was testing, or just that it could get the memory it needed.... - Ted