From: Andrew Morton Subject: Re: [RFC] [PATCH] Fix kmalloc flags used in ext3 with an active journal handle Date: Tue, 19 Dec 2006 18:03:58 -0800 Message-ID: <20061219180358.bfda00f0.akpm@osdl.org> References: <458898B4.5010805@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: lkml , linux-ext4@vger.kernel.org, cmm@us.ibm.com, amit , jack@suse.cz Return-path: Received: from smtp.osdl.org ([65.172.181.25]:54107 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932960AbWLTCID (ORCPT ); Tue, 19 Dec 2006 21:08:03 -0500 To: Suzuki In-Reply-To: <458898B4.5010805@in.ibm.com> Sender: linux-ext4-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org On Tue, 19 Dec 2006 17:58:12 -0800 Suzuki wrote: > * Fix the kmalloc flags used from within ext3, when we have an active journal handle > > If we do a kmalloc with GFP_KERNEL on system running low on memory, with an active journal handle, we might end up in cleaning up the fs cache flushing dirty inodes for some other filesystem. This would cause hitting a J_ASSERT() in : The change might be needed (haven't looked at it yet). But I'd like to see the full BUG trace, please. To see the callchain. Always include the trace... Thanks.