projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb794bc
)
mm, vmscan: fix an outdated comment still mentioning get_scan_ratio
author
Jerome Marchand
<
[email protected]
>
Wed, 6 Aug 2014 23:08:01 +0000
(16:08 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 7 Aug 2014 01:01:22 +0000
(18:01 -0700)
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]
>
mm/vmscan.c
patch
|
blob
|
history
diff --git
a/mm/vmscan.c
b/mm/vmscan.c
index 9c8222b499b4a6bd0f5405282d403b2c82ad7f84..88ab53c9949adae7bedc0421ebe739ae8f5f69f1 100644
(file)
--- 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;