From: Johannes Weiner Date: Wed, 6 Aug 2014 23:06:17 +0000 (-0700) Subject: mm: vmscan: move swappiness out of scan_control X-Git-Tag: cleanup-for-v3.18~96^2~144 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02695175c79b9163c798cc1cb78c628d011c07a6;p=pandora-kernel.git mm: vmscan: move swappiness out of scan_control Swappiness is determined for each scanned memcg individually in shrink_zone() and is not a parameter that applies throughout the reclaim scan. Move it out of struct scan_control to prevent accidental use of a stale value. Signed-off-by: Johannes Weiner Cc: Mel Gorman Cc: Rik van Riel Acked-by: Michal Hocko Cc: Vlastimil Babka Acked-by: Minchan Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed