]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: page_alloc: only check the alloc flags and gfp_mask for dirty once
authorMel Gorman <mgorman@suse.de>
Thu, 22 May 2014 00:43:19 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:19 +0000 (10:43 +1000)
commit1d30cfd24d86b841b14f8d87aab49505d2aa979f
tree7276bbd6d1a0d4ae47cbc31f94aeaaef4e7558fc
parent9e17e00d3731c28e1af941367f49ea703902d305
mm: page_alloc: only check the alloc flags and gfp_mask for dirty once

Currently it's calculated once per zone in the zonelist.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Jan Kara <jack@suse.cz>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Hugh Dickins <hughd@google.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c