diff options
author | Jerome Marchand <jmarchan@redhat.com> | 2014-08-06 19:08:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 21:01:22 -0400 |
commit | 7c0db9e917f77e6de2a524b33b5436491850dc79 (patch) | |
tree | b86f0f606f3f6dbfa87d8ad1b663a7f286b566a3 /mm | |
parent | fb794bcbb4e5552242f9a4c5e1ffe4c6da29a968 (diff) |
mm, vmscan: fix an outdated comment still mentioning get_scan_ratio
Quite a while ago, get_scan_ratio() has been renamed get_scan_count(),
however a comment in shrink_active_list() still mention it. This patch
fixes the outdated comment.
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/vmscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c index 9c8222b499b4..88ab53c9949a 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c | |||
@@ -1756,7 +1756,7 @@ static void shrink_active_list(unsigned long nr_to_scan, | |||
1756 | * Count referenced pages from currently used mappings as rotated, | 1756 | * Count referenced pages from currently used mappings as rotated, |
1757 | * even though only some of them are actually re-activated. This | 1757 | * even though only some of them are actually re-activated. This |
1758 | * helps balance scan pressure between file and anonymous pages in | 1758 | * helps balance scan pressure between file and anonymous pages in |
1759 | * get_scan_ratio. | 1759 | * get_scan_count. |
1760 | */ | 1760 | */ |
1761 | reclaim_stat->recent_rotated[file] += nr_rotated; | 1761 | reclaim_stat->recent_rotated[file] += nr_rotated; |
1762 | 1762 | ||