From: Jerome Marchand Date: Wed, 6 Aug 2014 23:08:01 +0000 (-0700) Subject: mm, vmscan: fix an outdated comment still mentioning get_scan_ratio X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7c0db9e917f77e6de2a524b33b5436491850dc79;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Michal Hocko Cc: Johannes Weiner Cc: Rik van Riel Cc: Mel Gorman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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, * Count referenced pages from currently used mappings as rotated, * even though only some of them are actually re-activated. This * helps balance scan pressure between file and anonymous pages in - * get_scan_ratio. + * get_scan_count. */ reclaim_stat->recent_rotated[file] += nr_rotated;