Re: [PATCH 4/8] vmscan: Do not writeback filesystem pages in direct reclaim

Christoph Hellwig
2010-07-19T14:19:37Z

On Mon, Jul 19, 2010 at 02:11:26PM +0100, Mel Gorman wrote:
> As the call-chain for writing anonymous pages is not expected to be deep
> and they are not cleaned by flusher threads, anonymous pages are still
> written back in direct reclaim.

While it is not quite as deep as it skips the filesystem allocator and
extent mapping code it can still be quite deep for swap given that it
still has to traverse the whole I/O stack. Probably not worth worrying
about now, but we need to keep an eye on it.

The patch looks fine to me anyway.