summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2014-08-06 16:06:17 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-06 18:01:18 -0700
commit02695175c79b9163c798cc1cb78c628d011c07a6 (patch)
treed0981d7146ea7b55ca0e615c9e5ff1a23c97a393 /usr
parent2344d7e44b870f9df67e505ee4e633217de752ba (diff)
downloadop-kernel-dev-02695175c79b9163c798cc1cb78c628d011c07a6.zip
op-kernel-dev-02695175c79b9163c798cc1cb78c628d011c07a6.tar.gz
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 <hannes@cmpxchg.org> Cc: Mel Gorman <mgorman@suse.de> Cc: Rik van Riel <riel@redhat.com> Acked-by: Michal Hocko <mhocko@suse.cz> Cc: Vlastimil Babka <vbabka@suse.cz> Acked-by: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud