diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2013-09-11 21:20:46 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 22:57:22 (GMT) |
commit | e085dbc52fad8d79fa2245339c84bf3ef0b3a802 (patch) | |
tree | b6793560ebcfd6e878e37dc851ff06a63926fed6 /mm/rmap.c | |
parent | 892f795df1eb119b560a3ee5a1ca3f385a852e84 (diff) | |
download | linux-fsl-qoriq-e085dbc52fad8d79fa2245339c84bf3ef0b3a802.tar.xz |
mm: page_alloc: rearrange watermark checking in get_page_from_freelist
Allocations that do not have to respect the watermarks are rare
high-priority events. Reorder the code such that per-zone dirty limits
and future checks important only to regular page allocations are ignored
in these extraordinary situations.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mgorman@suse.de>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Paul Bolle <paul.bollee@gmail.com>
Tested-by: Zlatko Calusic <zcalusic@bitsync.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions