[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0805190942530.18431@schroedinger.engr.sgi.com>
Date: Mon, 19 May 2008 09:44:11 -0700 (PDT)
From: Christoph Lameter <clameter@....com>
To: David Chinner <dgc@....com>
cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org, Mel Gorman <mel@...net.ie>,
andi@...stfloor.org, Rik van Riel <riel@...hat.com>,
Pekka Enberg <penberg@...helsinki.fi>, mpm@...enic.com
Subject: Re: [patch 10/21] buffer heads: Support slab defrag
On Mon, 19 May 2008, David Chinner wrote:
> Defragmentation is triggered as part of the usual memory reclaim
> process. Which implies we've run out of free memory, correct?
Yes but we have already reclaimed some memory.
> > How do you trigger such a special writeout?
>
> filemap_fdatawrite_range() perhaps?
Could you provide me such a patch? I would not know how much to writeout.
If we had such a method then we could also use that for the swap case
where we also write out single pages?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists