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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>