]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: filemap: pass __GFP_WRITE from grab_cache_page_write_begin()
authorJohannes Weiner <jweiner@redhat.com>
Thu, 8 Dec 2011 04:41:49 +0000 (15:41 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 9 Dec 2011 04:52:38 +0000 (15:52 +1100)
commitcf008b20a27a42c290a83e098014a42384a11185
treef18ce2b862f67b9c0c8f2b531dc1bbe8be7ac2cb
parentd101076b147ec68d79edeebdff0c883ba605bb47
mm: filemap: pass __GFP_WRITE from grab_cache_page_write_begin()

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@redhat.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Shaohua Li <shaohua.li@intel.com>
Cc: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/filemap.c