From: Mel Gorman Date: Wed, 4 Jun 2014 23:07:15 +0000 (-0700) Subject: mm: page_alloc: do not cache reclaim distances X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~16^2~201 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f7a75acdb24c7b9c436b3a0a66eec12e101d19c;p=pandora-kernel.git mm: page_alloc: do not cache reclaim distances pgdat->reclaim_nodes tracks if a remote node is allowed to be reclaimed by zone_reclaim due to its distance. As it is expected that zone_reclaim_mode will be rarely enabled it is unreasonable for all machines to take a penalty. Fortunately, the zone_reclaim_mode() path is already slow and it is the path that takes the hit. Signed-off-by: Mel Gorman Acked-by: Johannes Weiner Reviewed-by: Zhang Yanfei Acked-by: Michal Hocko Reviewed-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed