Re: [RFC PATCH 0/6] Do not call ->writepage[s] from direct reclaimand use a_ops->writepages() where possible

From: Rik van Riel
Date: Tue Jun 15 2010 - 10:56:09 EST


On 06/15/2010 10:51 AM, Mel Gorman wrote:
On Tue, Jun 15, 2010 at 04:00:11PM +0200, Andrea Arcangeli wrote:
Hi Mel,

I know lots of people doesn't like direct reclaim,

It's not direct reclaim that is the problem per-se, it's direct reclaim
calling writepage and splicing two potentially deep call chains
together.

I have talked to Mel on IRC, and the above means:

"calling alloc_pages from an already deep stack frame,
and then going into direct reclaim"

That explanation would have been helpful in email :)

--
All rights reversed
--
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/