mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Mel Gorman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
fb794bcbb4
commit
7c0db9e917
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue