Re: [patch 3/4] mm: filemap: pass __GFP_WRITE from grab_cache_page_write_begin()

From: Rik van Riel
Date: Tue Sep 20 2011 - 14:41:24 EST


On 09/20/2011 09:45 AM, Johannes Weiner wrote:
Tell the page allocator that pages allocated through
grab_cache_page_write_begin() are expected to become dirty soon.

Signed-off-by: Johannes Weiner<jweiner@xxxxxxxxxx>

Reviewed-by: Rik van Riel<riel@xxxxxxxxxx>

The missing codepaths pointed out by Christoph either
create new anonymous pages, or mark ptes pointing at
existing page cache pages writeable.

Either way, those should not need __GFP_WRITE.

--
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/