]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-move-lazy-free-pages-to-inactive-list-fix-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Oct 2015 22:03:48 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:48 +0000 (09:03 +1100)
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>
mm/swap.c

index 0e306136f4a30bb5708e342710d56c325ea3184b..7877fbaed809927aca3682f550fd28e69bc6297f 100644 (file)
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -635,8 +635,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)
 {