Re: [PATCH 13/14] fs,btrfs: Allow kswapd to writeback pages

From: Mel Gorman
Date: Thu Jul 01 2010 - 05:55:34 EST


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 <mel@xxxxxxxxx>
>
> Signed-off-by: Chris Mason <chris.mason@xxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/