diff options
author | Vladimir Davydov <vdavydov@parallels.com> | 2014-04-03 23:47:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-04 01:20:58 +0200 |
commit | 65ec02cb9ad440957777a2da6058956a52806460 (patch) | |
tree | ee5c123c407aeab8fa4a27764fd18ec7f6eb8cf0 /mm/vmstat.c | |
parent | mm: vmscan: respect NUMA policy mask when shrinking slab on direct reclaim (diff) | |
download | linux-65ec02cb9ad440957777a2da6058956a52806460.tar.xz linux-65ec02cb9ad440957777a2da6058956a52806460.zip |
mm: vmscan: move call to shrink_slab() to shrink_zones()
This reduces the indentation level of do_try_to_free_pages() and removes
extra loop over all eligible zones counting the number of on-LRU pages.
Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
Reviewed-by: Glauber Costa <glommer@gmail.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions