From: Mel Gorman Date: Wed, 6 Aug 2014 23:07:20 +0000 (-0700) Subject: mm: page_alloc: abort fair zone allocation policy when remotes nodes are encountered X-Git-Tag: cleanup-for-v3.18~96^2~115 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7b5d647946aae1647bf5cd26c16b3a793c1ac49;p=pandora-kernel.git 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 Acked-by: Johannes Weiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed