From: Chris Mason on 30 Jun 2010 09:10 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(a)csn.ul.ie> Signed-off-by: Chris Mason <chris.mason(a)oracle.com> 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(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Mel Gorman on 1 Jul 2010 06:00 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(a)csn.ul.ie> > > Signed-off-by: Chris Mason <chris.mason(a)oracle.com> > > 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(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Rik van Riel on 19 Jul 2010 14:30 On 07/19/2010 09:11 AM, 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(a)csn.ul.ie> Acked-by: Rik van Riel <riel(a)redhat.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: (none) Next: [PATCH 1/5] staging: slicoss: Change return codes to -EYYY. |