From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Mason Subject: Re: [PATCH 13/14] fs,btrfs: Allow kswapd to writeback pages Date: Wed, 30 Jun 2010 09:05:04 -0400 Message-ID: <20100630130504.GT1993@think> 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 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 To: Mel Gorman Return-path: Content-Disposition: inline In-Reply-To: <1277811288-5195-14-git-send-email-mel@csn.ul.ie> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org 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, 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