]> git.baikalelectronics.ru Git - kernel.git/commit
mm: page_alloc: abort fair zone allocation policy when remotes nodes are encountered
authorMel Gorman <mgorman@suse.de>
Wed, 6 Aug 2014 23:07:20 +0000 (16:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:20 +0000 (18:01 -0700)
commit2ba6e0dfee6ee204f993f60e1af9d9b01c93350b
tree6dc945631424f22b8044985d15fd949fc45e711a
parent4f17d97fe9b8cd11f8632010dbd830e63a649bed
mm: page_alloc: abort fair zone allocation policy when remotes nodes are encountered

The purpose of numa_zonelist_order=zone is to preserve lower zones for
use with 32-bit devices.  If locality is preferred then the
numa_zonelist_order=node policy should be used.

Unfortunately, the fair zone allocation policy overrides this by
skipping zones on remote nodes until the lower one is found.  While this
makes sense from a page aging and performance perspective, it breaks the
expected zonelist policy.  This patch restores the expected behaviour
for zone-list ordering.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c