Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754910Ab0GAJz3 (ORCPT ); Thu, 1 Jul 2010 05:55:29 -0400 Received: from gir.skynet.ie ([193.1.99.77]:45275 "EHLO gir.skynet.ie" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754818Ab0GAJz1 (ORCPT ); Thu, 1 Jul 2010 05:55:27 -0400 Date: Thu, 1 Jul 2010 10:55:10 +0100 From: Mel Gorman To: Chris Mason , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Dave Chinner , Nick Piggin , Rik van Riel , Johannes Weiner , Christoph Hellwig , KAMEZAWA Hiroyuki , KOSAKI Motohiro , Andrew Morton , Andrea Arcangeli Subject: Re: [PATCH 13/14] fs,btrfs: Allow kswapd to writeback pages Message-ID: <20100701095509.GF31741@csn.ul.ie> References: <1277811288-5195-1-git-send-email-mel@csn.ul.ie> <1277811288-5195-14-git-send-email-mel@csn.ul.ie> <20100630130504.GT1993@think> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20100630130504.GT1993@think> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 967 Lines: 25 On Wed, Jun 30, 2010 at 09:05:04AM -0400, Chris Mason wrote: > On Tue, Jun 29, 2010 at 12:34:47PM +0100, Mel Gorman wrote: > > As only kswapd and memcg are writing back pages, there should be no > > danger of overflowing the stack. Allow the writing back of dirty pages > > in btrfs from the VM. > > > > Signed-off-by: Mel Gorman > > Signed-off-by: Chris Mason > > But, this is only the metadata writepage. fs/btrfs/inode.c has another > one for data pages. (just look for PF_MEMALLOC). > My bad, fixed now. Thanks. -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/