diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2014-08-06 16:06:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 18:01:18 -0700 |
commit | 02695175c79b9163c798cc1cb78c628d011c07a6 (patch) | |
tree | d0981d7146ea7b55ca0e615c9e5ff1a23c97a393 /firmware/ttusb-budget | |
parent | 2344d7e44b870f9df67e505ee4e633217de752ba (diff) | |
download | linux-stable-02695175c79b9163c798cc1cb78c628d011c07a6.tar.gz linux-stable-02695175c79b9163c798cc1cb78c628d011c07a6.tar.bz2 linux-stable-02695175c79b9163c798cc1cb78c628d011c07a6.zip |
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 'firmware/ttusb-budget')
0 files changed, 0 insertions, 0 deletions