aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2015-05-14 01:01:51 +0000
committerJohannes Weiner <hannes@cmpxchg.org>2015-05-14 01:01:51 +0000
commit9c6990f7127ff08863f20bcc3a009807f685c223 (patch)
tree8203d5ae58224915860ffdbaed57ecd03984a429
parentf24ba8edbab204124952e2265718132a06e5c345 (diff)
downloadmm-next-9c6990f7127ff08863f20bcc3a009807f685c223.tar.gz
mm-move-lazy-free-pages-to-inactive-list-fix-fix
tweak comment Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Mel Gorman <mgorman@suse.de> Cc: Michal Hocko <mhocko@suse.cz> Cc: Minchan Kim <minchan@kernel.org> Cc: Rik van Riel <riel@redhat.com> Cc: Shaohua Li <shli@kernel.org> Cc: Wang, Yalin <Yalin.Wang@sonymobile.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--mm/swap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mm/swap.c b/mm/swap.c
index 8fa39e1ad46fc5..c80f30f6f7db8a 100644
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -875,8 +875,9 @@ void deactivate_file_page(struct page *page)
* deactivate_page - deactivate a page
* @page: page to deactivate
*
- * This function moves @page to inactive list if @page was on active list and
- * was not unevictable page to accelerate to reclaim @page.
+ * deactivate_page() moves @page to the inactive list if @page was on the active
+ * list and was not an unevictable page. This is done to accelerate the reclaim
+ * of @page.
*/
void deactivate_page(struct page *page)
{