]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-fix-nonuniform-page-status-when-writing-new-file-with-small-buffer-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Sep 2012 00:19:07 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:03:11 +0000 (15:03 +1000)
tweak comment

Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Robin Dong <sanbai@taobao.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/swap.c

index 692677cd0d956b30467fe39a8cc0bc26b9f7e15b..7a555e227d6121a651d30baf45cf026280ac8c0b 100644 (file)
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -447,9 +447,8 @@ void mark_page_accessed(struct page *page)
 EXPORT_SYMBOL(mark_page_accessed);
 
 /*
- * Check pagevec space before adding new page into as
- * it will prevent ununiform page status in
- * mark_page_accessed() after __lru_cache_add()
+ * Check the pagevec space before adding a new page into it, to prevent
+ * nonuniform page status in mark_page_accessed() after __lru_cache_add().
  */
 void __lru_cache_add(struct page *page, enum lru_list lru)
 {