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

Rik van Riel riel at redhat.com
Tue Sep 20 13:40:39 CDT 2011


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 at redhat.com>

Reviewed-by: Rik van Riel<riel at redhat.com>

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.




More information about the xfs mailing list