Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754625Ab0F3NHn (ORCPT ); Wed, 30 Jun 2010 09:07:43 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:34748 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754328Ab0F3NHl (ORCPT ); Wed, 30 Jun 2010 09:07:41 -0400 Date: Wed, 30 Jun 2010 09:05:04 -0400 From: Chris Mason To: Mel Gorman Cc: 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: <20100630130504.GT1993@think> Mail-Followup-To: Chris Mason , Mel Gorman , 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 References: <1277811288-5195-1-git-send-email-mel@csn.ul.ie> <1277811288-5195-14-git-send-email-mel@csn.ul.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1277811288-5195-14-git-send-email-mel@csn.ul.ie> User-Agent: Mutt/1.5.20 (2009-06-14) X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4C2B4159.00F9:SCFMA4539814,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 703 Lines: 18 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). -chris -- 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/