[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-mm-commits
Subject: + mm-vmscan-fix-an-outdated-comment-still-mentioning-get_scan_ratio.patch
From: akpm () linux-foundation ! org
Date: 2014-07-31 22:25:08
Message-ID: 53dac244.e6YcZNB0kjSYydRK%akpm () linux-foundation ! org
[Download RAW message or body]
The patch titled
Subject: mm, vmscan: fix an outdated comment still mentioning get_scan_ratio
has been added to the -mm tree. Its filename is
mm-vmscan-fix-an-outdated-comment-still-mentioning-get_scan_ratio.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-vmscan-fix-an-outdated-comment-still-mentioning-get_scan_ratio.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-vmscan-fix-an-outdated-comment-still-mentioning-get_scan_ratio.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: "Jerome Marchand" <jmarchan@redhat.com>
Subject: 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>
---
mm/vmscan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN mm/vmscan.c~mm-vmscan-fix-an-outdated-comment-still-mentioning-get_scan_ratio \
mm/vmscan.c
--- a/mm/vmscan.c~mm-vmscan-fix-an-outdated-comment-still-mentioning-get_scan_ratio
+++ a/mm/vmscan.c
@@ -1759,7 +1759,7 @@ static void shrink_active_list(unsigned
* 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;
_
Patches currently in -mm which might be from jmarchan@redhat.com are
mm-make-copy_pte_range-static-again.patch
mm-vmscan-fix-an-outdated-comment-still-mentioning-get_scan_ratio.patch
memcg-vmscan-fix-forced-scan-of-anonymous-pages.patch
zram-use-size_t-instead-of-u16.patch
zram-remove-global-tb_lock-with-fine-grain-lock.patch
--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic